-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* design: 버튼 위치 변경 및 필터 밑줄 스타일 변경 * fix: 러너 서포터 옵션값을 변경했을 때 본래의 게시물 리스트가 남아있는 오류 수정 * asset: asset 속성 값 수정 * feat: 리뷰 제안 취소 기능 msw 추가 * refactor: 누락된 메세지 상수화 완료 * feat: 피드백 작성 완료 메세지 추가 * design: 게시물 생성 페이지 잘린 글자 스타일 수정 * feat: 배포용 prod workflow 파일 생성 * design: 마이페이지 디자인 수정 * design: 프로필 페이지 스타일 수정 * fix: 러너, 서포터 옵션을 변경할 시 기존 리스트가 남아있는 오류 수정 * feat: 메인페이지 더보기 기능 토큰 존재 여부 검사 추가 * feat: 리뷰 제안 취소, 리뷰 완료 후 리로드 기능 추가 --------- Co-authored-by: 상규 <[email protected]>
- Loading branch information
Showing
15 changed files
with
243 additions
and
107 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: frontend_cd | ||
|
||
on: | ||
push: | ||
branches: | ||
- prod/FE | ||
|
||
defaults: | ||
run: | ||
working-directory: ./frontend | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build-and-upload: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Setup Repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup node with cache | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: 'npm' | ||
cache-dependency-path: '**/package-lock.json' | ||
|
||
- name: Setup environment variables | ||
run: | | ||
echo "REACT_APP_BASE_URL=${{ secrets.REACT_APP_PROD_BASE_URL }}" >> .env | ||
- name: Install Dependancies | ||
run: npm install | ||
|
||
- name: Build App | ||
run: npm run build | ||
|
||
- name: Upload frontend build file to artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: FrontendApplication | ||
path: frontend/dist | ||
|
||
deploy: | ||
needs: build-and-upload | ||
runs-on: [self-hosted, Linux, ARM64, deploy] | ||
|
||
steps: | ||
- name: Remove previous version app | ||
working-directory: frontend/dist | ||
run: rm -rf dist | ||
|
||
- name: Download build file from artifact | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: FrontendApplication | ||
path: frontend/dist |
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
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
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
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
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
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
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
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
Oops, something went wrong.