[FE] 별점이 제대로 보여지지 않는 오류 수정 (#31) #6
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: front deploy # Workflow 이름 | |
on: # Event 감지 | |
push: | |
branches: | |
- main | |
paths: | |
- "front/**" | |
jobs: # Job 설정 | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./front | |
steps: | |
- name: Checkout source code. # Repo checkout | |
uses: actions/checkout@v3 | |
- name: Check Node v # Node v 확인 | |
run: node -v | |
- name: Install dependencies # 의존 파일 설치 | |
run: yarn install --frozen-lockfile | |
- name: Generate build # React Build | |
run: yarn build | |
- name: Deploy # Upload build file to S3 | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
run: | | |
aws s3 cp --recursive --region ap-northeast-2 dist s3://moduzzi.site |