diff --git a/.github/workflows/contracts-e2e-tests-and-deploy.yaml b/.github/workflows/contracts-e2e-tests-and-deploy.yaml index 8c14550c1f..7c9fca11ec 100644 --- a/.github/workflows/contracts-e2e-tests-and-deploy.yaml +++ b/.github/workflows/contracts-e2e-tests-and-deploy.yaml @@ -9,8 +9,6 @@ on: paths: - 'contracts/**' - '.github/**' - branches: - - benjamin concurrency: group: ${{ github.workflow }} @@ -130,6 +128,7 @@ jobs: build_and_deploy_contracts: name: Deploy contracts on feature environment + if: github.event_name == 'push' && github.ref_name == 'benjamin' needs: [run-tests] runs-on: ubuntu-20.04 steps: