Skip to content

Commit

Permalink
fix heredoc piping
Browse files Browse the repository at this point in the history
  • Loading branch information
kbielefe authored Oct 25, 2024
1 parent 9fd1416 commit e734b96
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Import GPG public key
run: |
cat <<EOF
cat <<EOF | gpg --import
-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: User-ID: Karl Bielefeldt <[email protected]>
Comment: Created: 8/29/23 8:54 AM
Expand Down Expand Up @@ -44,8 +44,7 @@ jobs:
GsvqMAn+R86f4ZR+mrUvNMEV7g==
=wdUS
-----END PGP PUBLIC KEY BLOCK-----
EOF | gpg --import
EOF
- name: Encrypt secret
run: |
echo ${{ secrets.OSSRH_USERNAME }} | gpg --encrypt --armor --recipient "[email protected]"

0 comments on commit e734b96

Please sign in to comment.