Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
250 commits
Select commit Hold shift + click to select a range
631a218
feat: msw 초기설정 및 clubDetail 페이지에 적용
Oct 3, 2025
b2e58e1
refactor: 목데이터 갯수 증가
Oct 3, 2025
dedb16b
chore: 이미지데이터 사용가능한주소로 수정
Oct 3, 2025
2afdc58
feat: 댓글 창 위쪽에 개인 별점 입력을 위한 컴포넌트 추가
kanghaeun Oct 3, 2025
6d81c59
feat: 별점 기능 서버 POST 요청 연결
kanghaeun Oct 4, 2025
3389e3b
feat: 별점 반개 단위 선택 기능 추가
kanghaeun Oct 4, 2025
85f28ea
feat: 사용자가 별점을 제출하기 전까지 댓글 입력창을 비활성화(disabled) 처리하는 로직 구현
kanghaeun Oct 4, 2025
d917136
feat: 댓글 글자 수 500자 제한 기능 추가
kanghaeun Oct 4, 2025
db8a7e0
chore: 중복 타입 제거
Oct 4, 2025
bf047af
chore: 컴포넌트 이름 변경(타입 이름과 중복)
Oct 4, 2025
fdabd53
chore: 선택된 시간 상태 변수명 변경
Oct 4, 2025
a7d4177
refactor
Oct 4, 2025
03c218e
chore: component 이름 변경
Oct 5, 2025
b2e1d0e
refactor: 선택된 슬롯을 시간 배열로 mapping하는 util함수 추가
Oct 5, 2025
a805bd7
chore: component 이름 변경
Oct 5, 2025
6160363
refactor: 선택된 시간 데이터에서 연속된 부분 병합하는 util 함수 추가
Oct 5, 2025
1dce6f8
refactor: form상태 변경 custom hook 추가
Oct 5, 2025
9cb65b5
refactor: 관심사 분리
Oct 5, 2025
c5918f5
refactor: 단위 시간(30분) 배열 생성 util 추가
Oct 5, 2025
4cd0665
chore : import/order 적용
Oct 5, 2025
3f3d633
feat: 상단 nav에 관리자 로그인 sector 추가
Oct 6, 2025
10ade2c
feat: Router에 로그인 페이지 경로 추가
Oct 6, 2025
63d470e
feat: 수정 버튼 클릭 시 별점 편집 기능 구현
kanghaeun Oct 6, 2025
307e2ce
chore: lint 오류 해결
kanghaeun Oct 6, 2025
71c26d2
refactor: 드래그 선택 hook에 종료 이후 동작 추가
Oct 7, 2025
942e7db
feat: msw를 clubDetailEdit 페이지에 적용
Oct 7, 2025
2eba168
chore: 더 이상 사용하지 않는 mock file 제거
Oct 7, 2025
addb900
feat: ClubDetailEditPage에 react-hook-form적용
Oct 7, 2025
00ebe08
feat: ClibDetailEdit페이지 인풋들을 공통인풋컴포넌트로 교체
Oct 7, 2025
37fb345
refactor: 공통컴포넌트 활용으로 변경된 prop구조 적용
Oct 7, 2025
6a29452
refactor: 사이드바 입력폼 UI개선
Oct 7, 2025
24ad883
refactor: 지원 유의사항은 outline입력폼 사용
Oct 7, 2025
0439816
refactor: 필수입력필드 표시를 위한 (*)추가
Oct 7, 2025
ed73a57
chore: 필수영역 표시를 사이드바 표시와 색상 통일
Oct 7, 2025
7ba728a
feat: kakao login icon 추가
Oct 7, 2025
1e5de92
feat: 동아리 logo 임시 추가
Oct 7, 2025
ba39217
feat: login 입력필드(id,pw) 추가
Oct 7, 2025
183df0a
feat: login button 추가
Oct 7, 2025
b6df8f4
feat: Logo 부분 컴포넌트 추가(이미지)
Oct 7, 2025
096732c
feat: LoginPage 추가
Oct 7, 2025
3264ccc
chore: Lint import/order 적용
Oct 7, 2025
e41c510
chore: img 경로 변경
Oct 7, 2025
412bdc3
chore: 카카오 로그인 폰트색상 변경
Oct 7, 2025
dca5207
feat: 로그인 입력 필드 placeholder 추가
Oct 7, 2025
5617289
style: input 입력필드와 로그인 버튼 정렬
Oct 7, 2025
774c7b5
feat: 입력값 글자수 및 형식제한 검증 및 에러메세지표시
Oct 7, 2025
82855a0
refactor: 선택 필드는 미기재시 에러메세지 없도록 변경
Oct 7, 2025
205fa17
clean: 코딩컨벤션
Oct 7, 2025
26a2e3c
refactor: hover 상태 변수명을 previewRating으로 변경
kanghaeun Oct 8, 2025
124776b
Merge pull request #129 from kakao-tech-campus-3rd-step3/refactor/SOC…
aaaaaattt Oct 8, 2025
89f9c7b
fix: 동아리 정보 수정 폼 에러 메시지 위치 수정
kanghaeun Oct 8, 2025
f010dad
Merge pull request #130 from kakao-tech-campus-3rd-step3/feat/applica…
aaaaaattt Oct 8, 2025
2c55020
Merge pull request #132 from kakao-tech-campus-3rd-step3/feat/kakao-l…
aaaaaattt Oct 8, 2025
6606e7a
refactor: 재사용성을 고려해 인터페이스-> 픽으로 수정
Oct 8, 2025
50e3362
chore: sonner 라이브러리 추가
Oct 8, 2025
460e089
feat: Toast provider 추가
Oct 8, 2025
38010d9
refactor: ClubDetailEditPage API 요청 useQuery 훅으로 분리
Oct 8, 2025
1a0b706
chore: msw handler 호출 경로 수정(폼 제출)
Oct 8, 2025
aeb297e
feat: 지원서 제출 toast 알림 추가
Oct 8, 2025
a64ba3f
feat: 제출 후 동아리 상세페이지 이동 & toast ui duration 추가(1초)
Oct 8, 2025
8511124
refactor(msw): clubDetail 핸들러를 club 도메인으로 통합하여 관리 구조 개선
Oct 8, 2025
6a3970c
clean: 코딩컨벤션 및 주석제거
Oct 8, 2025
835505a
chore: 더이상 사용하지 않는 파일 제거
Oct 8, 2025
a89323e
style: toastUI custom 색상 적용
Oct 8, 2025
74af37d
chore: '제출 성공' 폰트 색상 변경
Oct 8, 2025
5712591
feat: 취소버튼 클릭시 대시보드 페이지로 라우팅
Oct 8, 2025
c2ffe9a
refactor: 버튼으로 라우팅시 스크롤 유지되는 문제 개선
Oct 8, 2025
63e6ad5
chore: category 상수 수정
Oct 9, 2025
36e0442
chore: src 경로 수정
Oct 9, 2025
632972b
chore: 동아리 필터링 api path 변경
Oct 9, 2025
8f9cd15
chore: lint import/order 반영
Oct 9, 2025
fa34085
Merge pull request #133 from kakao-tech-campus-3rd-step3/refactor/clu…
ganimjeong Oct 9, 2025
3fa56a5
chore: error toast message 배경색 변경
Oct 9, 2025
d77dcfb
chore: clubStatus 폰트 크기 변경
Oct 9, 2025
d51c377
chore: Question type 프로퍼티명 변경
Oct 9, 2025
94eead1
chore: 면접 시간 type 명시적 추가
Oct 9, 2025
b6b509d
chore: type 속성명 변경
Oct 9, 2025
cfe35fc
chore: Question type 속성명 재변경
Oct 9, 2025
de8aa57
chore: lint 공백 추가 & type 추가
Oct 9, 2025
6eec603
Merge pull request #138 from kakao-tech-campus-3rd-step3/feat/toast-n…
aaaaaattt Oct 9, 2025
bbef837
feat: 동아리 한줄 소개 입력란 UI 구현
Oct 9, 2025
063134d
chore: 불변성을 유지하면서 answers 값 다루도록 수정
Oct 10, 2025
76dd4b0
chore: 명시적 type 추가
Oct 10, 2025
8a13d29
refactor: time interval 생성 util함수 재사용 가능하도록 수정
Oct 10, 2025
23df9ad
chore: time utils 네이밍 변경
Oct 10, 2025
e716534
chore: 시간간격 배열 변수명 변경
Oct 10, 2025
3dae423
refactor: 회장이름 및 모집기간 폼 수정불가하게 수정 및 UI 개선
Oct 10, 2025
2dbf335
feat: 클럽 상세 수정 페이지 저장 API 구현 및 환경변수 기반 백엔드 연동
Oct 10, 2025
f9b5aa9
feat: 클럽 상세 수정 페이지 저장 API 구현 및 환경변수 기반 백엔드 연동
Oct 10, 2025
98f21fe
Merge pull request #139 from kakao-tech-campus-3rd-step3/fix/deploy-test
aaaaaattt Oct 10, 2025
01703b8
feat: 저장API까지 추가하여 백엔드 연결 완료
Oct 10, 2025
659938b
feat: 수정 버튼튼에 API로직 연결
Oct 10, 2025
c6e9d69
Merge branch 'develop' into feature/club-detail-edit-logic-add#136
Oct 10, 2025
0a7a7cb
feat: 수정버튼에 toast 적용
Oct 10, 2025
f5b4001
fix: lint에러 해결
Oct 10, 2025
98adc89
refactor: 동아리 카테고리 중복 상태 제거
Oct 11, 2025
d1f08c8
feat : eng->kor formatting util 추가
Oct 11, 2025
5dd6b9f
chore: 명시적 타입 추가와 메인페이지에 formatting 반영
Oct 11, 2025
f9eab59
chore: import/order 적용
Oct 11, 2025
e7d5670
feat: 커밋누락된 postClubDetailResoler 추가
Oct 11, 2025
4e9db82
feat: NAV_CONFIG에 동아리수정페이지 경로추가
Oct 11, 2025
0f92530
feat: clubId 동적 경로를 치환하는 헬퍼 함수 추가
Oct 11, 2025
1d8e909
feat: Navigation에서 to를 계산해 넘기게 함
Oct 11, 2025
d461db0
fix: 충돌처리
Oct 11, 2025
acddfb2
chore: husky 설치 및 기본설정
Oct 11, 2025
c677b77
Merge pull request #142 from kakao-tech-campus-3rd-step3/refactor/fee…
aaaaaattt Oct 11, 2025
c0ef19c
style: line-height 속성 추가
Oct 11, 2025
53d1d38
Merge pull request #150 from kakao-tech-campus-3rd-step3/chore/setup-…
ganimjeong Oct 11, 2025
0f639c6
clean: 주석제거
Oct 11, 2025
735daaa
style: 동아리 소개 문구 생략
Oct 11, 2025
2c8a4e9
refactor: Comment 타입 인라인 정의를 Pick으로 재구성하여 재사용성 개선
kanghaeun Oct 11, 2025
b3a52d5
refactor: useTheme -> theme import 통일, CSSObject 타입 통일
Oct 11, 2025
3298fa7
clean: 코드컨벤션
Oct 11, 2025
1e5e7f1
Merge pull request #149 from kakao-tech-campus-3rd-step3/feature/navb…
ganimjeong Oct 11, 2025
0cddcdd
Merge pull request #144 from kakao-tech-campus-3rd-step3/feature/club…
ganimjeong Oct 11, 2025
b720427
Merge pull request #146 from kakao-tech-campus-3rd-step3/refactor/clu…
ganimjeong Oct 11, 2025
ca3edac
Merge pull request #152 from kakao-tech-campus-3rd-step3/refactor/use…
kanghaeun Oct 11, 2025
e95fe70
feat: 임시 목데이터 작성
Oct 11, 2025
cd67977
feat: 활동후기섹션 UI 구현
Oct 11, 2025
35f196c
refactor: 분리를 위한 디바이더 추가
Oct 11, 2025
8f966a9
chore: proxy 설정 추가
kanghaeun Oct 11, 2025
44b730b
refactor: proxy 추가에 따른 API 호출 코드 리팩터링
kanghaeun Oct 11, 2025
30083d0
refactor: 대시보드 api 경로 수정
kanghaeun Oct 11, 2025
b23d73a
Merge pull request #156 from kakao-tech-campus-3rd-step3/feature/revi…
ganimjeong Oct 12, 2025
aac2954
refactor: 댓글 작성 API 메서드를 PUT에서 PATCH로 변경
kanghaeun Oct 12, 2025
a33e4ca
feat: 지원자 목록이 비어있을 경우 UI 처리 추가
kanghaeun Oct 11, 2025
a6a4d11
feat: 지원자 목록 API 조회 개선
kanghaeun Oct 11, 2025
adde828
feat: 상태별(전체,합격,불합격,미정) 카운트 계산 로직 추가
kanghaeun Oct 11, 2025
5daa432
feat: 대시보드 api 연결
kanghaeun Oct 12, 2025
f5d9243
feat: 대시보드 화면에 API 응답 데이터 연결
kanghaeun Oct 12, 2025
9cd631a
fix: PATCH 요청 반환 타입 불일치 수정
kanghaeun Oct 12, 2025
f8d14e1
fix: clubId 가 string이지 못하게 교정
Oct 12, 2025
706293c
chore: 카테고리별 동아리 요청 api 수정
Oct 12, 2025
867aa03
refactor: 지원자 상태 값을 'ACCEPTED'에서 'APPROVED'로 변경
kanghaeun Oct 12, 2025
f4b851a
Merge pull request #155 from kakao-tech-campus-3rd-step3/feat/dev-cor…
kanghaeun Oct 12, 2025
5a147cb
fix: API clubId 받는 방식으로 변경
Oct 12, 2025
018682c
Merge branch 'develop' into refactor/applicant-filter-api#140
kanghaeun Oct 12, 2025
ac446b9
Merge branch 'develop' into fix/club-apply-button-path#158
ganimjeong Oct 12, 2025
ef3cdab
Merge branch 'develop' into chore/club-category-api
aaaaaattt Oct 12, 2025
77bbd03
fix: status 속성에 따른 ApplicationStatus와 ApplicationFilterOption 타입 수정
kanghaeun Oct 12, 2025
a121c2c
chore: lint 공백 제거
Oct 12, 2025
194492c
refactor: 지원자 카운트 계산 시 reduce를 사용해 배열 단일 순회로 최적화
kanghaeun Oct 12, 2025
112dd12
fix: clubId 스트링에서 넘버로 수정
kanghaeun Oct 12, 2025
0f13a9d
Merge pull request #160 from kakao-tech-campus-3rd-step3/chore/club-c…
aaaaaattt Oct 12, 2025
bbff552
Merge pull request #159 from kakao-tech-campus-3rd-step3/fix/club-app…
aaaaaattt Oct 12, 2025
bb635b2
chore: 카테고리별 동아리 요청 api 수정
Oct 12, 2025
a46e6f9
fix: clubId 가 string이지 못하게 교정
Oct 12, 2025
ce13043
fix: API clubId 받는 방식으로 변경
Oct 12, 2025
44d6570
refactor: proxy 도입으로 api 상대경로로 수정
kanghaeun Oct 12, 2025
955d738
Merge branch 'develop' into refactor/applicant-filter-api#140
kanghaeun Oct 12, 2025
69e7f35
Merge pull request #161 from kakao-tech-campus-3rd-step3/refactor/app…
aaaaaattt Oct 12, 2025
fee4119
fix: server.proxy.target이 VITE_PROXY_TARGET을 참조하도록 수정
kanghaeun Oct 12, 2025
1891f7d
refactor: 상대경로에서 절대경로로 수정
kanghaeun Oct 12, 2025
ce21771
Merge pull request #163 from kakao-tech-campus-3rd-step3/fix/dev-prox…
aaaaaattt Oct 12, 2025
28024f7
feat : 인터뷰일정 업데이트 util 함수 추가
Oct 12, 2025
5453f49
feat: index 차이 계산 util 함수 추가
Oct 12, 2025
0483a94
refactor: formdata 변경 hook 제거
Oct 12, 2025
559bc46
feat : useReducer에서 사용되는 Type 추가
Oct 12, 2025
b188d84
feat: schedule form value 업데이트 hook 변경
Oct 12, 2025
912cdd7
style: timeSelector UI 변경
Oct 12, 2025
e61ef2f
feat: formData에 interviewDateAnswer 필드값 전송 결정
Oct 13, 2025
4a59daa
feat: selectedState 업데이트 util 함수 추가
Oct 13, 2025
0a8f0df
refactor : useReducer를 통해 응집도 향상
Oct 13, 2025
5f9c6be
chore: 매개변수 이름변경
Oct 13, 2025
b7de26e
fix: 마우스를 클릭한경우 indexDiffSign 초기화
Oct 13, 2025
865d09d
style: hover animation 반영 시간 변경
Oct 13, 2025
ff3ad56
refactor : useReducer 초기 상태 반환 함수 생성
Oct 13, 2025
6e78158
refactor: domain 로직과 util 함수 구분
Oct 13, 2025
f6ca3d2
feat: mouseMove 이벤트 발생 시 드래그 상태 관리 도메인 함수 추가
Oct 13, 2025
fec9b58
chore: Index 기반 배열 상태 업데이트 함수 util로 이동
Oct 13, 2025
bbbdae9
refactor: 드래그 상태 관련 도메인 로직 추출
Oct 13, 2025
a683c56
chore: 템플릿 리터럴 반영
Oct 13, 2025
77c1757
chore: 매개변수명 변경
Oct 13, 2025
c26c05c
chore: 사용하지 않는 타입 제거
Oct 13, 2025
f8f51a2
chore: import/order 반영
Oct 13, 2025
14d3d89
chore: 라우트 path 상수 추가
Oct 13, 2025
91988f4
feat: router 경로 추가
Oct 13, 2025
6ebe4af
feat: api 로그인의 Callback 페이지 추가
Oct 13, 2025
131f0f7
chore: 회원 가입 button 추가
Oct 13, 2025
c7cae5d
feat: 동아리 운영진 회원가입 페이지 추가
Oct 13, 2025
d35258e
feat: 동아리 관리자 회원가입 api 함수 추가
Oct 13, 2025
07c7943
feat: 회원가입 from 입력 Type 추가
Oct 13, 2025
d34d63c
feat: 관리자 등록 페이지 Header title 추가
Oct 14, 2025
333d8f0
refactor: 관리자 페이지 component 분리
Oct 14, 2025
00f73d2
feat: 관리자 등록페이지 route 추가
Oct 14, 2025
f467d26
refactor: 관리자 등록페이지 form 컴포넌트 분리
Oct 14, 2025
da861db
chore: import/order
Oct 14, 2025
df1ca90
chore: 오타수정(SING->SIGN)
Oct 14, 2025
f111f26
chore: Button type 변경
Oct 14, 2025
4752457
chore: 불필요한 @medial 제거
Oct 14, 2025
b2c13b8
chore: API path 로컬환경 -> 배포환경으로 설정
Oct 14, 2025
7b5a27c
chore: 주석 수정
Oct 14, 2025
76fceca
chore: refreshToken 관련 주석 수정
Oct 14, 2025
6d2002c
chore: 중복된 toast 알림 제거
Oct 14, 2025
68a4bb2
chore: 로그인 입력 필드 주석처리
Oct 14, 2025
3937106
chore: 로그인 부분 제거
Oct 14, 2025
4d7e0ec
Delete .github/workflows/ci.yml
aaaaaattt Oct 14, 2025
a8f092d
chore: import/order 적용
Oct 14, 2025
0f57197
chore: error nam 수정
Oct 14, 2025
a4c53cc
chore : catch 문 내부에서 error 출력
Oct 14, 2025
dcf65d7
chore: 배포 기준이 되는 branch 변경
aaaaaattt Oct 14, 2025
f73b3ec
Merge pull request #167 from kakao-tech-campus-3rd-step3/aaaaaattt-pa…
aaaaaattt Oct 14, 2025
4a1ce8b
fix: 수정하기 버튼 네비게이팅 주소 수정
Oct 14, 2025
e448b55
Merge pull request #164 from kakao-tech-campus-3rd-step3/refacgtor/ap…
aaaaaattt Oct 15, 2025
74105cb
chore: acl public read 제거
Oct 15, 2025
a1af2d4
chore: 라우트 path 상수 추가
Oct 13, 2025
7e414df
feat: router 경로 추가
Oct 13, 2025
1a50170
feat: api 로그인의 Callback 페이지 추가
Oct 13, 2025
bbf1fba
chore: 회원 가입 button 추가
Oct 13, 2025
518f673
feat: 동아리 운영진 회원가입 페이지 추가
Oct 13, 2025
8b3c0f7
feat: 동아리 관리자 회원가입 api 함수 추가
Oct 13, 2025
65ef832
feat: 회원가입 from 입력 Type 추가
Oct 13, 2025
d9c7db2
feat: 관리자 등록 페이지 Header title 추가
Oct 14, 2025
a2a1b3a
refactor: 관리자 페이지 component 분리
Oct 14, 2025
423de87
feat: 관리자 등록페이지 route 추가
Oct 14, 2025
012070d
refactor: 관리자 등록페이지 form 컴포넌트 분리
Oct 14, 2025
1fa9b28
chore: import/order
Oct 14, 2025
0e9761b
chore: 오타수정(SING->SIGN)
Oct 14, 2025
ce9808e
chore: Button type 변경
Oct 14, 2025
35a217a
chore: 불필요한 @medial 제거
Oct 14, 2025
ecbeede
chore: API path 로컬환경 -> 배포환경으로 설정
Oct 14, 2025
84ae31b
chore: 주석 수정
Oct 14, 2025
09e8a79
chore: refreshToken 관련 주석 수정
Oct 14, 2025
89cd48b
chore: 중복된 toast 알림 제거
Oct 14, 2025
8514849
chore: 로그인 입력 필드 주석처리
Oct 14, 2025
3e354c9
chore: 로그인 부분 제거
Oct 14, 2025
44ccd1c
chore: import/order 적용
Oct 14, 2025
31ee8ac
chore: error nam 수정
Oct 14, 2025
26dc7ab
chore : catch 문 내부에서 error 출력
Oct 14, 2025
6738ef5
Merge pull request #171 from kakao-tech-campus-3rd-step3/fix/edit-but…
ganimjeong Oct 15, 2025
2630869
Merge pull request #169 from kakao-tech-campus-3rd-step3/chore/change…
aaaaaattt Oct 15, 2025
2ec3e89
Merge pull request #166 from kakao-tech-campus-3rd-step3/feat/oauth-l…
aaaaaattt Oct 15, 2025
77ff14a
workflow trigger branch 변경
aaaaaattt Oct 15, 2025
ddbf011
feat: 공통 에러 응답 interface 추가
Oct 16, 2025
4c751d1
feat: 관리자 회원가입 api 추가
Oct 16, 2025
4ddcf0e
feat: 회원가입을 위한 임시 토큰 추가
Oct 16, 2025
efa9b9f
feat: 카카오 콜백 (=redirect) 페이지추가 작업 반영
Oct 16, 2025
9868180
feat: Axios 인스턴스 생성 함수 추가
Oct 16, 2025
c8b9894
Merge pull request #175 from kakao-tech-campus-3rd-step3/fix/change-w…
aaaaaattt Oct 16, 2025
15dac1a
Merge branch 'develop' of https://github.com/kakao-tech-campus-3rd-st…
Oct 16, 2025
4b43dac
chore: import/order 적용
Oct 16, 2025
91557e4
chore: api path 로컬 -> 배포 환경 적용
Oct 16, 2025
4505c99
chore : setTime 제거, onAutoClose 적용
Oct 16, 2025
2f2eeaf
chore: catch문 내부의 any타입 제거
Oct 16, 2025
e3e78de
refactor: token 저장 위치 변경
Oct 17, 2025
00059ac
refactor: Callback 페이지의 API Layer 분리
Oct 17, 2025
d6de32c
refactor: accessToken 저장 부분 분리
Oct 17, 2025
d8b2fa2
refactor: utils 함수를 통해 token을 저장하고 가져오도록 수정
Oct 17, 2025
fbbed2a
chore: import/order 적용
Oct 17, 2025
dffd841
Merge pull request #177 from kakao-tech-campus-3rd-step3/feat/oauth-l…
aaaaaattt Oct 17, 2025
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
136 changes: 0 additions & 136 deletions .github/workflows/ci.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/fe-ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
branches: ['develop']
push:
branches: ['main']
branches: ['develop']

jobs:
install-dependencies:
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
needs: build
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
if: github.event_name == 'push' && github.ref == 'refs/heads/develop'
environment: dongarium
steps:
- name: Download build artifact
Expand All @@ -132,5 +132,5 @@ jobs:

- name: Deploy to S3 and invalidate CloudFront
run: |
aws s3 sync ./dist s3://${{ secrets.S3_BUCKET }} --delete --acl public-read
aws s3 sync ./dist s3://${{ secrets.S3_BUCKET }} --delete
aws cloudfront create-invalidation --distribution-id ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }} --paths "/*"
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
Loading