Skip to content

rename workflow

rename workflow #2

Workflow file for this run

name: Deploy Dev
on: [push]
# Required permissions
permissions: read-all
jobs:
synth:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- name: install cdk
run: npm install -g aws-cdk
- name: yarn-install
working-directory: ./doorway-app-servers
run: yarn install
- name: Synth
run: cdk synth
working-directory: ./doorway-app-servers
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-west-1
ENVIRONMENT: dev
- name: Deploy
run: cdk deploy
working-directory: ./doorway-app-servers
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-west-1
ENVIRONMENT: dev