build: release v6.259.0 (#8819) #67
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy FormSG app to production | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| on: | |
| push: | |
| branches: | |
| - release-al2 | |
| jobs: | |
| deploy: | |
| name: Deploy | |
| uses: ./.github/workflows/deploy-ecs.yml | |
| with: | |
| gha-environment: 'release-al2' | |
| # Environment configuration | |
| environment: 'production' | |
| environment-site-name: 'prod' | |
| app-version: ${{ github.sha }} | |
| app-url: 'https://form.gov.sg' | |
| react-app-form-sg-sdk-mode: 'production' | |
| # AWS configuration | |
| aws-region: 'ap-southeast-1' | |
| ecr-repository: 'formsg' | |
| # ECS configuration | |
| ecs-cpu: 2048 | |
| ecs-memory: 4096 | |
| ecs-cluster-name: 'formsg-prod-ecs' | |
| ecs-service-name: 'formsg-prod-ecs-service' | |
| ecs-task-definition: 'formsg-prod-ecs' | |
| ecs-task-definition-path: 'deploy/ecs-task-definition.json' | |
| ecs-container-name: 'formsg-app' | |
| # CodeDeploy configuration | |
| codedeploy-application: 'formsg-prod-ecs-app' | |
| codedeploy-appspec-path: deploy/appspec.yml | |
| codedeploy-deployment-group: 'formsg-prod-ecs-dg' | |
| # Datadog config | |
| dd-env: 'production-iac' | |
| secrets: | |
| # AWS credentials and configuration | |
| aws-account-id: ${{ secrets.AWS_ACCOUNT_ID }} | |
| cicd-role: ${{ secrets.IAC_AWS_CI_ROLE_TO_ASSUME }} | |
| # Monitoring and analytics configuration | |
| ga-tracking-id: ${{ secrets.GA_TRACKING_ID }} | |
| dd-rum-app-id: ${{ secrets.DD_RUM_APP_ID }} | |
| dd-rum-client-token: ${{ secrets.DD_RUM_CLIENT_TOKEN }} | |
| dd-sample-rate: ${{ secrets.DD_SAMPLE_RATE }} | |
| DD_API_KEY: ${{ secrets.DD_API_KEY }} | |
| S3_STATIC_ASSETS_BUCKET_NAME: ${{ secrets.S3_STATIC_ASSETS_BUCKET_NAME }} |