Skip to content

Commit e286bec

Browse files
committed
sed gpg passphrase in pom xml
1 parent 8628ea5 commit e286bec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ jobs:
2626
ossrh-password: ${{ secrets.OSSRH_PASSWORD }}
2727
- env:
2828
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
29-
run: ./gen-gpg-key.sh
29+
run: |
30+
./gen-gpg-key.sh
31+
sed -i "s/\${GPG_PASSPHRASE}/$GPG_PASSPHRASE/g" ./pom.xml
3032
name: Generate GPG key
3133
- name: Deploy
3234
run: mvn deploy -Prelease -X

0 commit comments

Comments
 (0)