mirror of
https://gitlab.com/vyla-entertainment/status.git
synced 2026-11-09 19:57:25 -05:00
Updated
This commit is contained in:
@@ -15,4 +15,4 @@ deploy:
|
|||||||
- ssh-keyscan -H "$VPS_HOST" >> ~/.ssh/known_hosts
|
- ssh-keyscan -H "$VPS_HOST" >> ~/.ssh/known_hosts
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ssh "$VPS_USER@$VPS_HOST" "cd /var/www/status && git pull origin main && npm install --production && pm2 restart status || pm2 start server.js --name status"
|
- ssh "$VPS_USER@$VPS_HOST" "cd /var/www/status && git fetch origin main && git reset --hard origin/main && pm2 restart status || pm2 start server.js --name status && pm2 save"
|
||||||
Reference in New Issue
Block a user