Skip to content

Commit

Permalink
place the private key in tmp (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
umbynos committed Jul 28, 2021
1 parent 1289a0c commit dc350ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generate-index.yml
Expand Up @@ -63,8 +63,8 @@ jobs:
# https://github.com/keybase/keybase-issues/issues/2798
- name: Import GPG key
run: |
echo "${{ secrets.GPG_PRIVATE_KEY }}" | base64 -di > private.key
gpg --batch --import --passphrase "${{ secrets.PASSPHRASE }}" private.key
echo "${{ secrets.GPG_PRIVATE_KEY }}" | base64 -di > /tmp/private.key
gpg --batch --import --passphrase "${{ secrets.PASSPHRASE }}" /tmp/private.key
echo "GPG_TTY=$(tty)" >> $GITHUB_ENV
# disable gpg pass prompt
Expand Down

0 comments on commit dc350ee

Please sign in to comment.