diff --git a/.github/workflows/generate-index.yml b/.github/workflows/generate-index.yml index cea30600..87f820aa 100644 --- a/.github/workflows/generate-index.yml +++ b/.github/workflows/generate-index.yml @@ -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