Skip to content

Commit

Permalink
Base64 encode the gpg keys before importing to GPG
Browse files Browse the repository at this point in the history
  • Loading branch information
jared-daniels committed Nov 20, 2024
1 parent 77d64e2 commit ebbbbdf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/beta-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,9 @@ jobs:
- name: Configure GPG
run: |
echo "$GPG_PRIVATE_KEY" | gpg --batch --yes --import
echo "$GPG_PUBLIC_KEY" | gpg --batch --yes --import
echo "$GPG_PUBLIC_KEY"
echo "$GPG_PRIVATE_KEY" | base64 --decode | gpg --batch --yes --import
echo "$GPG_PUBLIC_KEY" | base64 --decode | gpg --batch --yes --import
env:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_PUBLIC_KEY: ${{ secrets.GPG_PUBLIC_KEY }}
Expand Down

0 comments on commit ebbbbdf

Please sign in to comment.