diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index eed3c162..460d3244 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -27,6 +27,7 @@ jobs: deploy: runs-on: ubuntu-latest needs: build + if: ${{ github.event_name != 'pull_request' && steps.extract_branch.outputs.branch == 'master' }} steps: - name: Extract branch name shell: bash