Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[main] 백앤드 배포 셋팅 완료 #3

Merged
merged 4 commits into from
Mar 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
sudo systemctl restart nginx
echo "=========== serve client ==========="
cd ~/Recreation/server
yarn
yarn build
gradle build
echo "=========== server install ==========="
pm2 reload nest
echo "=========== deploy server ==========="
pm2 reload spring
echo "=========== depoly server ==========="

9 changes: 9 additions & 0 deletions server/server.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"apps": [
{
"name": "spring",
"script": "java",
"args": ["-jar", "build/libs/server-0.0.1-SNAPSHOT.jar"]
}
]
}