Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ezcolin2 authored Nov 21, 2024
1 parent 20f8145 commit 42e1077
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,16 @@ jobs:
EXISTING_PID=$(lsof -ti :3000)
if [ -n "$EXISTING_PID" ]; then
echo "프로세스 종료 중...: $EXISTING_PID"
echo "3000 프로세스 종료 중...: $EXISTING_PID"
kill -9 "$EXISTING_PID"
echo "$EXISTING_PID 프로세스 종료"
else
echo "실행 중인 프로세스가 없습니다."
fi
EXISTING_PID=$(lsof -ti :1234)
if [ -n "$EXISTING_PID" ]; then
echo "1234 프로세스 종료 중...: $EXISTING_PID"
kill -9 "$EXISTING_PID"
echo "$EXISTING_PID 프로세스 종료"
else
Expand Down

0 comments on commit 42e1077

Please sign in to comment.