Skip to content

2026.08.21.01

2026.08.21.01 #561

Workflow file for this run

# Deploys released tag to production
name: "Deploy: release"
on:
release:
types:
- released
permissions:
contents: read
jobs:
release:
uses: ./.github/workflows/use-deploy-ecs.yml
permissions:
contents: read
id-token: write
with:
deployment-env: prod
extra-docker-tag: ${{ github.event.release.tag_name }}
secrets:
aws-account-id: ${{ secrets.TID_AWS_ACCOUNT_ID }}
aws-role-arn: ${{ secrets.AWS_ROLE_ARN }}
docker-repo: ${{ secrets.DOCKER_REPO }}
notify:
needs: [release]
uses: ./.github/workflows/use-notify-slack.yml
if: ${{ !cancelled() }}
secrets:
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
with:
job-status: ${{ needs.release.result }}
success-message: |
:t-intensifies: `prod` updated to release `${{ github.event.release.tag_name }}`
failure-message: |
release `${{ github.event.release.tag_name }}` failed to update `prod`
sentry:
needs: [release]
if: ${{ !cancelled() }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
with:
fetch-depth: 0
persist-credentials: false
- uses: getsentry/action-release@5657c9e888b4e2cc85f4d29143ea4131fde4a73a # v3.6.0
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: mbtace
SENTRY_PROJECT: mbta-dotcom
with:
environment: prod
version: ${{ github.event.release.tag_name }}