Skip to content

Commit 8c9a2a8

Browse files
authored
devops: update publish.yml to use env var for passphrase (#144)
1 parent 7625aa5 commit 8c9a2a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
server-username: MAVEN_USERNAME # env variable for username in deploy
1919
server-password: MAVEN_PASSWORD # env variable for token in deploy
2020
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
21-
gpg-passphrase: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
21+
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
2222
- name: Download drivers
2323
shell: bash
2424
run: scripts/download_driver_for_all_platforms.sh
@@ -27,3 +27,4 @@ jobs:
2727
env:
2828
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
2929
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
30+
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

0 commit comments

Comments
 (0)