Skip to content

Rollback Production Deployment #14

Rollback Production Deployment

Rollback Production Deployment #14

Workflow file for this run

name: Rollback Production Deployment
on:
workflow_dispatch:
jobs:
validate-actor:
# Only allow to be deployed from tags and main branch
if: startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main'
uses: ./.github/workflows/validate-actor.yml
secrets:
PAT: ${{ secrets.PAT }}
deploy:
needs: validate-actor
name: Rollback production deployment
uses: ./.github/workflows/deploy.yml
with:
environment: 'production'
bugsnag_release_stage: 'production'
s3_dir_path: 'v3'
s3_dir_path_legacy: 'v1.1'
action_type: ' Rollback'
secrets:
AWS_ACCOUNT_ID: ${{ secrets.AWS_PROD_ACCOUNT_ID }}
AWS_S3_BUCKET_NAME: ${{ secrets.AWS_PROD_S3_BUCKET_NAME }}
AWS_S3_SYNC_ROLE: ${{ secrets.AWS_PROD_S3_SYNC_ROLE }}
AWS_CF_DISTRIBUTION_ID: ${{ secrets.AWS_PROD_CF_DISTRIBUTION_ID }}
BUGSNAG_API_KEY: ${{ secrets.RS_PROD_BUGSNAG_API_KEY }}
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
SLACK_RELEASE_CHANNEL_ID: ${{ secrets.SLACK_RELEASE_CHANNEL_ID }}