Configure publish job to only run on push events
This commit is contained in:
parent
3b75ebd6e4
commit
89c1b8a6fb
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user