Skip to content

Commit

Permalink
Adding secrets as environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
thsaravana committed Aug 30, 2021
1 parent d78486e commit 52e8ee1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ jobs:

- name: Publish to Staging
run: ./gradlew plot:publishReleasePublicationToSonatypeRepositor --stacktrace
env:
OSS_USERNAME: ${{ secrets.OSS_USERNAME }}
OSS_PASSWORD: ${{ secrets.OSS_PASSWORD }}
OSS_STAGING_PROFILE_ID: ${{ secrets.OSS_STAGING_PROFILE_ID }}
OSS_SIGNING_KEY_ID: ${{ secrets.OSS_SIGNING_KEY_ID }}
OSS_SIGNING_PASSWORD: ${{ secrets.OSS_SIGNING_PASSWORD }}
OSS_SIGNING_KEY: ${{ secrets.OSS_SIGNING_KEY }}

- name: Release to Production
run: ./gradlew closeAndReleaseSonatypeStagingRepository --stacktrace

0 comments on commit 52e8ee1

Please sign in to comment.