Skip to content

chore(release): pull hotfix-release/3.51.0-SDK-2664 into main #107

chore(release): pull hotfix-release/3.51.0-SDK-2664 into main

chore(release): pull hotfix-release/3.51.0-SDK-2664 into main #107

Workflow file for this run

name: Deploy to Production Environment
on:
pull_request:
branches: ['main']
types:
- closed
jobs:
deploy:
name: Deploy to production environment
if: (startsWith(github.event.pull_request.head.ref, 'release/') || startsWith(github.event.pull_request.head.ref, 'hotfix-release/')) && github.event.pull_request.merged == true
uses: ./.github/workflows/deploy.yml
with:
environment: 'production'
bugsnag_release_stage: 'production'
s3_dir_path: 'v3'
s3_dir_path_legacy: 'v1.1'
action_type: ''
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 }}
deploy-sanity-suite:
name: Deploy Sanity Suite
needs: deploy
uses: ./.github/workflows/deploy-sanity-suite.yml
with:
environment: 'production'
secrets:
AWS_PROD_ACCOUNT_ID: ${{ secrets.AWS_PROD_ACCOUNT_ID }}
AWS_PROD_S3_BUCKET_NAME: ${{ secrets.AWS_PROD_S3_BUCKET_NAME }}
AWS_PROD_S3_SYNC_ROLE: ${{ secrets.AWS_PROD_S3_SYNC_ROLE }}
AWS_PROD_CF_DISTRIBUTION_ID: ${{ secrets.AWS_PROD_CF_DISTRIBUTION_ID }}
SANITY_SUITE_PROD_WRITE_KEY: ${{ secrets.SANITY_SUITE_PROD_WRITE_KEY }}
SANITY_SUITE_PROD_DATAPLANE_URL: ${{ secrets.SANITY_SUITE_PROD_DATAPLANE_URL }}
SANITY_SUITE_PROD_CONFIG_SERVER_HOST: ${{ secrets.SANITY_SUITE_PROD_CONFIG_SERVER_HOST }}
RS_PROD_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_NON_PROD }}
trigger-sanity-suite:
uses: ./.github/workflows/trigger-sanity-suite.yml
name: Trigger Sanity Suite
needs: deploy-sanity-suite
with:
environment: production
secrets:
PAT: ${{ secrets.PAT }}