Skip to content

Commit

Permalink
Merge pull request #71 from dajeongdev/bugfix/github-actions
Browse files Browse the repository at this point in the history
fix : 에러 로그 경로 수정
  • Loading branch information
dajeongdev committed Apr 22, 2024
2 parents a049512 + 423b569 commit f30a66a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
run: ./gradlew clean build -x test

# 포트가 사용 중이라면 종료
- name: Kill 80 port if exist
- name: Kill 8009 port if exist
run: |
if sudo lsof -i :8009; then
echo "Port 8009 is already in use. Killing the process..."
Expand All @@ -50,4 +50,6 @@ jobs:
# Jar 파일 실행
- name: Execute Jar File
run: nohup java -jar build/libs/americano-0.0.1-SNAPSHOT.jar 1>/root/nohup/output.log 2>error.log &
run: |
nohup java -jar build/libs/americano-0.0.1-SNAPSHOT.jar 1>/root/nohup/output.log 2>/root/nohup/error.log &
sleep 2

0 comments on commit f30a66a

Please sign in to comment.