Remove build script
This commit is contained in:
parent
fe5128fa8b
commit
810bff0eb3
13
build.sh
13
build.sh
@ -1,13 +0,0 @@
|
|||||||
echo "[1/7] Stopping server..."
|
|
||||||
sudo supervisorctl stop sesame
|
|
||||||
echo "[2/7] Changing permissions..."
|
|
||||||
sudo chown -R pi:pi .
|
|
||||||
echo "[3/7] Pulling changes..."
|
|
||||||
git pull
|
|
||||||
echo "[4/7] Building project..."
|
|
||||||
swift build -c release
|
|
||||||
echo "[5/7] Restoring permissions..."
|
|
||||||
sudo chown -R www-data:www-data .
|
|
||||||
echo "[6/7] Starting server..."
|
|
||||||
sudo supervisorctl start sesame
|
|
||||||
echo "[7/7] Done"
|
|
Loading…
Reference in New Issue
Block a user