Skip to content

Chore: Update GitHub action with assumed role #310

Chore: Update GitHub action with assumed role

Chore: Update GitHub action with assumed role #310

Workflow file for this run

name: Deploy to ECS
permissions:
id-token: write
contents: read
on:
schedule:
- cron: '0 5 * * *'
workflow_dispatch:
inputs:
environment:
type: environment
required: true
default: dev
push:
branches: master
jobs:
call-workflow:
uses: mbta/actions/deploy-ecs@v2

Check failure on line 21 in .github/workflows/deploy-ecs.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-ecs.yml

Invalid workflow file

invalid value workflow reference: references to workflows must be rooted in '.github/workflows'
with:
app-name: arrow
environment: ${{ github.event.inputs.environment || 'dev' }}
secrets:
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
docker-repo: ${{ secrets.DOCKER_REPO }}
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}