Skip to content

Commit 9640619

Browse files
committed
feat: 특정 브랜치 최신 정보 가져오기
1 parent dac362c commit 9640619

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,16 @@ jobs:
6969
if [ -d "$DIR" ]; then
7070
echo "$DIR 디렉토리가 존재합니다. 최신 버전으로 업데이트 중..."
7171
cd "$DIR"
72-
git switch -c $feature-be-#173 origin/feature-be-#173
72+
git switch -c feature-be-#173
73+
git pull origin
7374
7475
7576
else
7677
echo "$DIR 디렉토리가 존재하지 않습니다. 클론 중..."
7778
git clone https://github.com/boostcampwm-2024/web15-OctoDocs.git "$DIR"
7879
cd "$DIR"
80+
git switch -c feature-be-#173
81+
git pull origin
7982
fi
8083
8184

0 commit comments

Comments
 (0)