You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
GitHub Action to unlock git-crypt secrets
1.1.0
jobs:
deploy:
name: Test git-crypt-unlock
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Unlock secrets
uses: sliteteam/[email protected]
env:
GIT_CRYPT_KEY: ${{ secrets.GIT_CRYPT_KEY }}
GIT_CRYPT_KEY
Required Base64 encoded git-crypt key file.- Get it from an unlocked git-crypt env with:
git-crypt export-key ./tmp-key && cat ./tmp-key | base64 | pbcopy && rm ./tmp-key
- Get it from an unlocked git-crypt env with:
./test/entrypoint_test.sh