Skip to content

Trial (#16)

Trial (#16) #16

Workflow file for this run

on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'npm'
cache-dependency-path: 'package-lock.json'
- run: 'npm install --global aws-cdk'
- run: 'cdk --version'
- run: 'npm install'
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_ROLE_ARN_TO_ASSUME }}
aws-region: ${{ vars.AWS_REGION }}
role-duration-seconds: 7200
mask-aws-account-id: true
- run: 'cdk synthesize'
- run: 'cdk diff'
- run: 'cdk deploy --require-approval never'