Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ALL] 프론트엔드 워크플로우 변경사항 develop 브랜치에 적용 #409

Merged
merged 2 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/frontend-dev-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,17 @@ jobs:
env:
CLOUDFRONT_DISTRIBUTION_ID_DEV: ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID_DEV}}
steps:
- name: 기존 dist 폴더 내부에 있던 이전 버젼의 dist 폴더 내부 모든 파일을 삭제해요
working-directory: ./frontend/
run: |
rm -rf dist/*

- name: 모모 깃허브 레파지토리 artifacts로 부터 빌드 결과물을 다운받아요 :)
uses: actions/download-artifact@v4
with:
name: momoResources
path: ./frontend/dist

- name: aws에 배포하고 cloudfront 캐싱을 무효화해요
working-directory: ./frontend/dist/
run: |
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/frontend-prod-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,17 @@ jobs:
env:
CLOUDFRONT_DISTRIBUTION_ID_PROD: ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID_PROD}}
steps:
- name: 기존 dist 폴더 내부에 있던 이전 버젼의 dist 폴더 내부 모든 파일을 삭제해요
working-directory: ./frontend/
run: |
rm -rf dist/*

- name: 모모 깃허브 레파지토리 artifacts로 부터 빌드 결과물을 다운받아요 :)
uses: actions/download-artifact@v4
with:
name: momoResources
path: ./frontend/dist

- name: aws에 배포하고 cloudfront 캐싱을 무효화해요
working-directory: ./frontend/dist/
run: |
Expand Down