Skip to content

Commit

Permalink
Merge pull request #1332 from ChildMindInstitute/M2-6595-Configure-De…
Browse files Browse the repository at this point in the history
…ploy-to-Test/UAT

added new condition
  • Loading branch information
yatrashkevich-scn authored May 27, 2024
2 parents b0f6a6b + 2540f70 commit d6fceeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/run_deploy_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
deploy_to_ecs:
runs-on: ubuntu-latest
if: ${{ github.event.event.workflow_run.event.merged == true }}
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.pull_requests[0].merged == true }}

env:
TASK_FAMILY_PREFIX: backend
Expand Down

0 comments on commit d6fceeb

Please sign in to comment.