Skip to content

Deploy develop branch to development environment #2

Deploy develop branch to development environment

Deploy develop branch to development environment #2

name: Deploy to development AWS account
run-name: Deploy develop branch to development environment
on: workflow_dispatch
permissions:
contents: read
id-token: write
concurrency: deploy-dev
jobs:
deploy:
name: Deploy to development AWS account
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: develop
- 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@v3
with:
role-to-assume: ${{ secrets.DEV_DEPLOY_ROLE_ARN }}
aws-region: ${{ vars.AWS_REGION }}
mask-aws-account-id: true
- uses: ./.github/actions/sst-deploy
name: Build and deploy SST app
with:
stage: dev