Skip to content

Commit 88d47bf

Browse files
authored
Dev > Main 브랜치 병합
1. CI/CD 포트 종료 코드를 수정했습니다.
2 parents d8d03d5 + 50bb802 commit 88d47bf

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/backend-cd.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ jobs:
2929
git pull origin main
3030
chmod +x ./gradlew
3131
./gradlew build
32+
33+
pid=$(lsof -ti:8080)
34+
if [ -n "$pid" ]; then
35+
kill -9 $pid
36+
fi
37+
3238
docker stop devpals-container || true
3339
docker rm devpals-container || true
3440
docker build -t devpals-app .

0 commit comments

Comments
 (0)