This commit is contained in:
2026-08-14 13:35:05 -07:00
parent e8beeb575e
commit 1ad3954a7e

View File

@@ -15,4 +15,4 @@ deploy:
- ssh-keyscan -H "$VPS_HOST" >> ~/.ssh/known_hosts
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"