Skip to content

Commit

Permalink
Merge pull request #7 from sboeckelmann/prepare_release_deployment
Browse files Browse the repository at this point in the history
add gpg  private key env
  • Loading branch information
sboeckelmann authored Feb 15, 2023
2 parents d4762cd + e131420 commit a3a6371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

- name: Deploy from the main branch
if: github.ref == 'refs/heads/main'
run: ./gradlew publish -PossrhUsername=${{ secrets.SONATYPE_NEXUS_USERNAME }} -PossrhPassword=${{ secrets.SONATYPE_NEXUS_PASSWORD }}
run: ./gradlew publish -PsigningKey=${{ secrets.GPG_PRIVATE_KEY }} -PsigningPassword=${{secrets.GPG_PRIVATE_KEY_PASSPHRASE}} -PossrhUsername=${{ secrets.SONATYPE_NEXUS_USERNAME }} -PossrhPassword=${{ secrets.SONATYPE_NEXUS_PASSWORD }}

- name: Cleanup Gradle Cache
# Remove some files from the Gradle cache, so they aren't cached by GitHub Actions.
Expand Down

0 comments on commit a3a6371

Please sign in to comment.