only publish master pushes
This commit is contained in:
parent
548bc7aa64
commit
44636c4de3
2
.github/workflows/test_and_publish.yml
vendored
2
.github/workflows/test_and_publish.yml
vendored
@ -91,7 +91,7 @@ jobs:
|
|||||||
name: Publish
|
name: Publish
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: test
|
needs: test
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- name: Publish to Registry
|
- name: Publish to Registry
|
||||||
|
Loading…
x
Reference in New Issue
Block a user