Skip to content

Commit

Permalink
feat: add pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
kilee1230 committed Dec 17, 2024
1 parent 855e7d8 commit 89c91d6
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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 AWS 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"

0 comments on commit 89c91d6

Please sign in to comment.