Skip to content

feat: update pipeline step #2

feat: update pipeline step

feat: update pipeline step #2

Workflow file for this run

name: Pipeline
on:
push:
jobs:
build:
name: Build & Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
run_install: true
- name: Build frontend app
run: pnpm build
- name: Build CDK stack
run: pnpm cdk:build
- name: Deploy frontend and CDK stack
run: pnpm cdk:deploy
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: "ap-southeast-5"