Add prints to build script

This commit is contained in:
Christoph Hagen 2022-12-16 13:36:11 +01:00
parent 3c5999a892
commit 2ff3265786

View File

@ -1,6 +1,13 @@
echo "[1/7] Stopping server..."
sudo supervisorctl stop caps sudo supervisorctl stop caps
echo "[2/7] Changing permissions..."
sudo chown -R pi:pi . sudo chown -R pi:pi .
echo "[3/7] Pulling changes..."
git pull git pull
echo "[4/7] Building project..."
swift build -c release swift build -c release
echo "[5/7] Restoring permissions..."
sudo chown -R www-data:www-data . sudo chown -R www-data:www-data .
echo "[6/7] Starting server..."
sudo supervisorctl start caps sudo supervisorctl start caps
echo "[7/7] Done"