diff options
-rwxr-xr-x | deploy.sh | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |