Skip to content

Commit

Permalink
Chore : 실행파일 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ssoree912 committed May 9, 2024
1 parent 545d96a commit a324187
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/server/deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

port=`lsof -i :8080 -t`

kill -9 $port
git checkout dev
git pull origin deploy
cp src/main/resources/devapplication.yml src/main/resources/application.yml
nohup ./gradlew bootRun > gradlew.log 2>&1 &

0 comments on commit a324187

Please sign in to comment.