-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use shared ECS deployment workflow
This enables selecting the environment to deploy to at deploy time, enabling deployment to dev-blue for https://app.asana.com/0/584764604969369/1206766411887391/f.
- Loading branch information
Showing
4 changed files
with
24 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Deploy to ECS | ||
|
||
on: | ||
schedule: | ||
- cron: "0 5 * * *" | ||
workflow_dispatch: | ||
inputs: | ||
environment: | ||
type: environment | ||
required: true | ||
default: dev | ||
push: | ||
branches: master | ||
|
||
jobs: | ||
call-workflow: | ||
uses: mbta/workflows/.github/workflows/deploy-ecs.yml@v2 | ||
with: | ||
app-name: concentrate | ||
environment: ${{ github.event.inputs.environment || 'dev' }} | ||
secrets: | ||
aws-role-arn: ${{ secrets.AWS_ROLE_ARN }} | ||
docker-repo: ${{ secrets.DOCKER_REPO }} | ||
slack-webhook: ${{ secrets.SLACK_WEBHOOK }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.