Skip to content

Commit

Permalink
Update deploy docs
Browse files Browse the repository at this point in the history
Signed-off-by: Manoel Campos <manoelcampos@gmail.com>
  • Loading branch information
manoelcampos committed Nov 24, 2022
1 parent 0c3c17e commit 56c7e74
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,16 @@ jobs:
java-version: '17'
distribution: 'adopt'
server-id: ossrh
# ~/.m2/settings.xml
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
cache: 'maven'
- id: install-secret-key
name: Install gpg secret key
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
cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import
gpg --list-keys
- name: Publish package
Expand Down

0 comments on commit 56c7e74

Please sign in to comment.