Vertragsverwaltung_Plusfit24/deploy.sh

15 lines
195 B
Bash
Executable File

#!/bin/bash
cd /opt/plusfit24 || exit 1
echo "=== Deploy startet: $(date) ==="
git pull origin master || exit 1
npm install --production
pm2 restart plusfit24
echo "=== Deploy fertig ==="