Skip to content

updated github action branch #1

updated github action branch

updated github action branch #1

Workflow file for this run

name: CDK Deploy
on:
workflow_dispatch:
push:
branches: ["master"]
jobs:
aws_cdk:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Setup Node.js environment
uses: actions/setup-node@v2
with:
node-version: 20
cache: "npm"
- name: Install dependencies
run: npm install
- name: Install AWS CDK
run: npm i -g aws-cdk
- name: Configure aws credentials
uses: aws-actions/configure-aws-credentials@master
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_KEY }}
aws-region: ${{ secrets.AWS_REGION || "us-east-1"}}

Check failure on line 32 in .github/workflows/cdk-deploy.yml

View workflow run for this annotation

GitHub Actions / CDK Deploy

Invalid workflow file

The workflow is not valid. .github/workflows/cdk-deploy.yml (Line: 32, Col: 23): Unexpected symbol: '"us-east-1"'. Located at position 23 within expression: secrets.AWS_REGION || "us-east-1"
- name: Bootstrap CDK
run: cdk bootstrap
- name: Synth stack
run: cdk synth
- name: Deploy stack
run: cdk deploy --all --require-approval never