Skip to content

Commit 11a7e2d

Browse files
committed
Update deploy.yml config.
Signed-off-by: Manoel Campos <[email protected]>
1 parent cb89e07 commit 11a7e2d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,13 @@ jobs:
1919
cache: 'maven'
2020
- id: install-secret-key
2121
name: Install gpg secret key
22-
run: cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import
22+
run: |
23+
# The key to assing to OSSRH_GPG_SECRET_KEY can be got running on your PC: gpg -a --export-secret-keys KEY_ID
24+
# The KEY_ID can be got from the GPG Keyhain.
25+
# The OSSRH_GPG_SECRET_KEY_PASSWORD is in macOS keychain (GPG Key password)
26+
# OSSRH_USERNAME and OSSRH_TOKEN (password) and is available at ~/.m2/settings.xml
27+
cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import
28+
gpg --list-keys
2329
- name: Publish package
2430
run: |
2531
# Set some environment variables needed by Nexus Staging Maven plugin on JDK 17,

0 commit comments

Comments
 (0)