Skip to content

Commit 740bfca

Browse files
committed
Commiting changes in deploy.yml
1 parent a636772 commit 740bfca

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
3030
- name: Import GPG key
3131
run: |
32-
echo "${{ secrets.MVN_GPG_PRIVATE_KEY }}" | gpg --import --armor --batch --no-tty
32+
echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --import --armor --batch --no-tty
3333
3434
- name: Setup Maven settings
3535
run: |
@@ -51,7 +51,5 @@ jobs:
5151
5252
- name: Deploy to Sonatype Central
5353
run: |
54-
./mvnw clean deploy --batch-mode -X -Prelease \
55-
-Dgpg.keyname=${{ secrets.MVN_GPG_KEY_ID }} \
56-
-Dgpg.passphrase="" \
57-
-Dgpg.pinentry-mode=loopback
54+
./mvnw clean deploy --batch-mode -Prelease \
55+
-Dgpg.keyname=${{ secrets.GPG_KEY_ID }}

0 commit comments

Comments
 (0)