Skip to content

Commit

Permalink
Updated deployment on workflow_run
Browse files Browse the repository at this point in the history
  • Loading branch information
Verzaccii committed Feb 29, 2024
1 parent a59a284 commit 4b4617b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/Deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@
name: Deploy to Amazon ECS

on:
push:
branches: [ "master" ]
workflow_run:
workflows: ["Django CI", "Node.js CI"]
types: ["completed"]
branches: ["master"]

env:
AWS_REGION: MY_AWS_REGION # set this to your preferred AWS region, e.g. us-west-1
Expand Down

0 comments on commit 4b4617b

Please sign in to comment.