Skip to content

[FE] 오류메시지 수정 (#61) #12

[FE] 오류메시지 수정 (#61)

[FE] 오류메시지 수정 (#61) #12

Workflow file for this run

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: Set environment variables # 환경 변수 설정
run: |
echo "VITE_API_URL=${{ secrets.VITE_API_URL }}" >> $GITHUB_ENV
- 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