Skip to content

Commit

Permalink
Merge pull request #107 from lucidsoftware/no-sonatype-push-for-prs
Browse files Browse the repository at this point in the history
Don't push to sonatype for pull request builds
  • Loading branch information
tmccombs authored Jul 10, 2023
2 parents 0bc23c0 + 3144494 commit 671b6cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Test
run: sbt compile test doc Debian/packageBin
- name: Publish to Sonatype
if: ${{ github.repository == 'lucidsoftware/piezo' }}
if: ${{ github.repository == 'lucidsoftware/piezo' && github.event_name != 'pull_request' }}
env:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
Expand Down

0 comments on commit 671b6cc

Please sign in to comment.