Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 596 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 596 Bytes

Github Action running git-crypt unlock

Usage

Example Workflow file

jobs:
  deploy:
    name: git-crypt-unlock
    steps:
      - uses: actions/checkout@master
      - name: Unlock secrets
        uses: philips-forks/[email protected]
        env:
          GIT_CRYPT_KEY: ${{ secrets.GIT_CRYPT_KEY }}

Secrets

  • GIT_CRYPT_KEY Required Base64 encoded git-crypt key file.
    • Get it from an unlocked git-crypt env with:
      git-crypt export-key - | base64 -w0

Running tests

./test/entrypoint_test.sh