diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 445097c9..e84668d2 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -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