Skip to content

Commit

Permalink
[ALL] 프론트엔드 워크플로우 변경사항 develop 브랜치에 적용 (#409)
Browse files Browse the repository at this point in the history
* chore: aws와 동기화하기 전 EC2 인스턴스의 이전 파일들을 삭제하는 스텝 추가

* refactor: 테스트를 위한 목데이터 수정

---------

Co-authored-by: hwinkr <[email protected]>
  • Loading branch information
Largopie and hwinkr authored Oct 16, 2024
1 parent fb88def commit b86ec54
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
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
2 changes: 1 addition & 1 deletion frontend/src/mocks/meeting/data/mySchedule.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"data": {
"attendeeName": "모모",
"attendeeName": "모모 MSW",
"schedules": [
{
"date": "2024-10-24",
Expand Down

0 comments on commit b86ec54

Please sign in to comment.