diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c77da0b..b905139 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -31,7 +31,7 @@ jobs: publish: needs: check - if: github.ref == 'master' && github.event_name != 'pull_request' && needs.check.result == 'success' + if: github.ref == 'refs/heads/master' && github.event_name == 'push' && needs.check.result == 'success' runs-on: ubuntu-latest steps: