diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 80bf58c..af0813b 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -11,7 +11,7 @@ on: jobs: deploy_after_master_push: runs-on: ubuntu-latest - if: github.event.workflow_run.conclusion == 'success' + if: github.ref == 'refs/heads/master' && github.event_name == 'push' && github.event.workflow_run.conclusion == 'success' steps: - name: Checkout Repository uses: actions/checkout@v2