only publish master pushes
This commit is contained in:
parent
548bc7aa64
commit
44636c4de3
1 changed files with 1 additions and 1 deletions
2
.github/workflows/test_and_publish.yml
vendored
2
.github/workflows/test_and_publish.yml
vendored
|
@ -91,7 +91,7 @@ jobs:
|
|||
name: Publish
|
||||
runs-on: ubuntu-latest
|
||||
needs: test
|
||||
if: github.event_name == 'push'
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Publish to Registry
|
||||
|
|
Reference in a new issue