Skip to content

Deploy Keycloak Prod #28

Deploy Keycloak Prod

Deploy Keycloak Prod #28

Workflow file for this run

name: Deploy Keycloak Prod
on:
workflow_dispatch:
inputs:
tag:
description: 'Existing Tag to Deploy'
required: true
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
environment:
name: Keycloak Prod
url: https://login.mbta.com/
concurrency: prod
env:
ECS_CLUSTER: keycloak
ECS_SERVICE: keycloak-prod
steps:
- uses: mbta/actions/deploy-ecs@v2
with:
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
ecs-cluster: ${{ env.ECS_CLUSTER }}
ecs-service: ${{ env.ECS_SERVICE }}
docker-tag: ${{ secrets.DOCKER_REPO }}:${{ github.event.inputs.tag }}
- uses: mbta/actions/notify-slack-deploy@v1
if: ${{ !cancelled() }}
with:
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
job-status: ${{ job.status }}