diff --git a/.github/workflows/run_deploy_dev.yaml b/.github/workflows/run_deploy_dev.yaml index e90b4b15ec7..8edba99220a 100644 --- a/.github/workflows/run_deploy_dev.yaml +++ b/.github/workflows/run_deploy_dev.yaml @@ -4,11 +4,12 @@ on: workflows: ["run_build"] types: - completed + jobs: - deploy_to_ecs: runs-on: ubuntu-latest - if: github.event.pull_request.merged == true + if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.pull_request.merged == true }} + env: TASK_FAMILY_PREFIX: backend ECS_CLUSTER_NAME: cmiml-dev