only publish master pushes

This commit is contained in:
Shish 2020-10-24 23:00:10 +01:00
parent 548bc7aa64
commit 44636c4de3

View file

@ -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