Skip to content

Commit

Permalink
Added prod deployment config
Browse files Browse the repository at this point in the history
Added prod deployment config
  • Loading branch information
hirenkp2000 authored Sep 2, 2023
2 parents 12f74e7 + ee5dbe4 commit ac36f42
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main-prd-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ jobs:
needs: S3-CodeDeploy-Release
uses: ./.github/workflows/reusable-codedeploy-deployment.yml
with:
aws-region: ${{ vars.AWS_REGION }}
aws-region: ${{ vars.PRD_AWS_REGION }}
codedeploy-app-name: ${{ vars.CODEDEPLOY_APP_NAME }}
## TODO : Should come from repository variable
codedeploy-group-name: Naksha_Prd_Deployment_Group
codedeploy-group-name: ${{ vars.CODEDEPLOY_PRD_GROUP_NAME }}
deployment-description: 'Deployment triggered by ${{ github.triggering_actor }} from Github repo [${{ github.repository }}], ${{ github.ref_type }} [${{ github.ref_name }}], commit sha [${{ github.sha }}]'
s3-bucket-name: ${{ vars.RELEASE_S3_BUCKET_NAME }}
# we use Prod access point (eu-west-1) to fetch deployment artifacts from E2E S3 bucket (us-east-1)
s3-bucket-name: arn:aws:s3:us-east-1:132512433756:accesspoint/naksha-rel
s3-artifact-path: ${{ needs.S3-CodeDeploy-Release.outputs.s3-artifact-path }}
s3-artifact-type: tgz
secrets:
aws-key: ${{ secrets.AWS_KEY }}
aws-secret: ${{ secrets.AWS_SECRET }}
aws-key: ${{ secrets.PRD_AWS_KEY }}
aws-secret: ${{ secrets.PRD_AWS_SECRET }}

0 comments on commit ac36f42

Please sign in to comment.