Skip to content

Commit 74af35f

Browse files
committed
🛠 : deploy.sh 추가
1 parent cc2b18e commit 74af35f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Diff for: deploy.sh

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
cd /var/www/app/web24-boostris
2+
git fetch --all
3+
git reset --hard origin/main
4+
cd /var/www/app/web24-boostris/front-end
5+
npm ci
6+
npm run build
7+
rm -rf /var/www/html/*
8+
cp -r /var/www/app/web24-boostris/front-end/build/* /var/www/html
9+
cd /var/www/app/web24-boostris/back-end/api-server
10+
pm2 reload ts-node

0 commit comments

Comments
 (0)