Skip to content

Commit b48b805

Browse files
author
Flinders, Elijah
committed
Update publishToMaven.yml
1 parent dfebd52 commit b48b805

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publishToMaven.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Publish package to the Maven Central Repository
22
on:
3-
release:
4-
types: [created]
3+
push:
4+
branches: ["**"]
55

66
jobs:
77
publish-to-maven:
@@ -33,4 +33,4 @@ jobs:
3333
OSSHR_KEY_PASSWORD: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
3434
run: |
3535
mvn \
36-
--no-transfer-progress --batch-mode -Dgpg.passphrase=$OSSHR_KEY_PASSWORD clean deploy
36+
--no-transfer-progress --batch-mode -Psign-artifacts -Dgpg.passphrase=$OSSHR_KEY_PASSWORD clean deploy

0 commit comments

Comments
 (0)