Skip to content

Commit aa23332

Browse files
committed
Deploy only in primary repo
1 parent c07c38b commit aa23332

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/maven-deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
${{ runner.os }}-maven-
3737
3838
- name: Publish to the Maven Central Repository
39+
if: github.repository == 'phax/jcodemodel'
3940
run: mvn --batch-mode --update-snapshots -P release-snapshot deploy
4041
env:
4142
MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }}

0 commit comments

Comments
 (0)