Skip to content

Commit

Permalink
feat: Add deploy workflow (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshlarson authored Apr 5, 2024
1 parent 03a3515 commit c0ca387
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/deploy-ecs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Deploy to Dev

on:
workflow_dispatch:
inputs:
environment:
type: environment
required: true
default: dev
push:
branches: ["main"]

jobs:
call-workflow:
uses: mbta/workflows/.github/workflows/deploy-ecs.yml@v2
concurrency:
group: ${{ github.event.inputs.environment || 'dev' }}
with:
app-name: ors
environment: ${{ github.event.inputs.environment || 'dev' }}
secrets:
aws-role-arn: ${{ secrets.AWS_ROLE_ARN }}
docker-repo: ${{ secrets.DOCKER_REPO }}
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}

0 comments on commit c0ca387

Please sign in to comment.