summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdeploy.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/deploy.sh b/deploy.sh
index 2b13543..b5111a3 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -7,7 +7,8 @@ echo Deploying app:
rsync -azvP . $remote_app --chown=mpeter:www-data\
--exclude={'.venv','.git','app/__pycache__',}\
--exclude 'app/fapg.db*' # Files
+if [ $? -eq 0 ]; then echo App deployed to $remote_app; fi
+
echo Deploying static files:
rsync -azvP ./app/static $remote_static --chown=mpeter:www-data
-echo App deployed to $remote_app
-echo Static files to $remote_static.
+if [ $? -eq 0 ]; then echo Static files to $remote_static.; fi
Copyright 2019--2024 Marius PETER