Skip to content

v-0.001

v-0.001 #9

name: Sean Front End CI/CD
on:
push:
branches:
- dev
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: dev
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22.x
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run build script
run: yarn build
- name: Upload to S3
env:
AWS_ACCESS_KEY_ID: ${{ secrets.SEAN_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.SEAN_AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'ap-northeast-2'
run: |
aws s3 cp ./dist s3://ktb-23-healthkungya-storage-dev --recursive