Update workflow.yml

This commit is contained in:
lowlighter
2021-04-29 09:33:28 +02:00
parent aa634f0a20
commit e46d2ba72b

View File

@@ -98,7 +98,7 @@ jobs:
name: Publish rebuilt metrics indexes
runs-on: ubuntu-latest
needs: [ build, analyze, format ]
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
if: github.event_name == 'push' && github.head_ref == 'refs/heads/master'
steps:
- name: Checkout repository
uses: actions/checkout@v2