Skip to content

Commit

Permalink
chore: deploy to ECS via reusable workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
losvedir committed May 26, 2022
1 parent 234045e commit c3c6cff
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/deploy-ecs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Deploy to ECS

on:
workflow_dispatch:
inputs:
environment:
type: environment
required: true
default: dev
push:
branches: master

jobs:
call-workflow:
uses: mbta/workflows/.github/workflows/deploy-ecs.yml@main
with:
app-name: arrow
environment: ${{ github.event.inputs.environment || 'dev }}
secrets:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
docker-repo: ${{ secrets.DOCKER_REPO }}
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}

0 comments on commit c3c6cff

Please sign in to comment.