Deploy abb7929543e7964c3c87e8de26af92f9f5e6fb42 to production environment #3
This file contains 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 to production AWS account | |
run-name: Deploy ${{ github.event.after }} to production environment | |
on: | |
push: | |
branches: [main] | |
permissions: | |
contents: read | |
id-token: write | |
concurrency: deploy-prod | |
jobs: | |
deploy: | |
name: Deploy to production AWS account | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ vars.NODE_VERSION_STRING }} | |
- name: Install dependencies | |
run: | | |
npm ci | |
npm ci --prefix 'packages/web' | |
- uses: aws-actions/configure-aws-credentials@v2 | |
with: | |
role-to-assume: ${{ secrets.PROD_DEPLOY_ROLE_ARN }} | |
aws-region: ${{ vars.AWS_REGION }} | |
- uses: ./.github/actions/sst-deploy | |
name: Build and deploy SST app | |
with: | |
stage: prod |