Skip to content

Commit f4a6753

Browse files
Update GitHub Deploy config
1 parent a8d6b34 commit f4a6753

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,12 @@ jobs:
3232
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
3333

3434

35-
- name: Set Default GPG Key
36-
run: gpg --default-key ${{ secrets.GPG_KEY_ID }}
37-
35+
- name: Set Default GPG Key and Verify
36+
run: |
37+
echo "$GPG_PRIVATE_KEY" | gpg --batch --import
38+
gpg --default-key ${{ secrets.GPG_KEY_ID }} --list-secret-keys --keyid-format LONG
39+
env:
40+
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
3841
- name: Set up Java
3942
uses: actions/setup-java@v4
4043
with:

0 commit comments

Comments
 (0)