Skip to content

Commit

Permalink
chore: 스크립트 순서 변경 (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbgksqkr committed Apr 10, 2024
1 parent 0f6cb25 commit f9946c4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/front-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ jobs:
VITE_DEV_SERVER_URL: ${{ secrets.VITE_DEV_SERVER_URL }}
VITE_PROD_SERVER_URL: ${{ secrets.VITE_PROD_SERVER_URL }}

# react 빌드
- name: deploy
run: |
npm run deploy:prod
# react 빌드한 /dist를 s3로 업로드
- name: Upload /dist to S3
env:
Expand All @@ -58,8 +63,3 @@ jobs:
run: |
aws cloudfront create-invalidation \
--distribution-id $CLOUD_FRONT_ID --paths "/*"
# 배포
- name: deploy
run: |
npm run deploy:prod

0 comments on commit f9946c4

Please sign in to comment.