Skip to content

Commit

Permalink
Update deploy.yml config.
Browse files Browse the repository at this point in the history
Signed-off-by: Manoel Campos <manoelcampos@gmail.com>
  • Loading branch information
manoelcampos committed Mar 16, 2023
1 parent cb89e07 commit 11a7e2d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@ jobs:
cache: 'maven'
- id: install-secret-key
name: Install gpg secret key
run: cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import
run: |
# The key to assing to OSSRH_GPG_SECRET_KEY can be got running on your PC: gpg -a --export-secret-keys KEY_ID
# The KEY_ID can be got from the GPG Keyhain.
# The OSSRH_GPG_SECRET_KEY_PASSWORD is in macOS keychain (GPG Key password)
# OSSRH_USERNAME and OSSRH_TOKEN (password) and is available at ~/.m2/settings.xml
cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import
gpg --list-keys
- name: Publish package
run: |
# Set some environment variables needed by Nexus Staging Maven plugin on JDK 17,
Expand Down

0 comments on commit 11a7e2d

Please sign in to comment.