rename workflow #2
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 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 |