Skip to content

Commit

Permalink
Merge pull request #29 from ktb-23/feature-development-ci-cd
Browse files Browse the repository at this point in the history
�development 환경 CI/CD를 위한 github action 설정 파일 추가
  • Loading branch information
PokingTeemo authored Aug 27, 2024
2 parents 238327a + 3a72545 commit 958866d
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/development-ci-cd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
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

0 comments on commit 958866d

Please sign in to comment.