diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a893eb..5ae5f69 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }}