Skip to content

Commit

Permalink
add: deploy.yml 도커 실행문 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
pandahwang committed Oct 6, 2024
1 parent 4eede12 commit fcbe9d0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,7 @@ jobs:
echo "$APPLICATION_PROPERTIES" > src/main/resources/application.properties
./gradlew clean build
sudo fuser -k -n tcp 8080 || true
nohup java -jar build/libs/*SNAPSHOT.jar > ./output.log 2>&1 &
# 도커로 빌드한 이미지를 실행
docker compose -f compose-prod.yml up --build -d
# 백그라운드로 서버 실행
# nohup java -jar build/libs/*SNAPSHOT.jar > ./output.log 2>&1 &

0 comments on commit fcbe9d0

Please sign in to comment.