Skip to content

Commit

Permalink
๐Ÿ›  : deploy.sh ์ถ”๊ฐ€
Browse files Browse the repository at this point in the history
  • Loading branch information
ChanHoHan committed Dec 9, 2021
1 parent cc2b18e commit 74af35f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
cd /var/www/app/web24-boostris
git fetch --all
git reset --hard origin/main
cd /var/www/app/web24-boostris/front-end
npm ci
npm run build
rm -rf /var/www/html/*
cp -r /var/www/app/web24-boostris/front-end/build/* /var/www/html
cd /var/www/app/web24-boostris/back-end/api-server
pm2 reload ts-node

0 comments on commit 74af35f

Please sign in to comment.