Improved deployment script.

Commit
805c6b911e4d1ebb4e5e951092fa284705aa1f66
Author
Marius Peter <marius.peter@tutanota.com>
Author date
Committer
Marius Peter <marius.peter@tutanota.com>
Committer date
deploy.sh
index 2b13543d..b5111a3c 100755..100755
@@ -7,7 +7,8 @@
7 7 rsync -azvP . $remote_app --chown=mpeter:www-data\
8 8 --exclude={'.venv','.git','app/__pycache__',}\
9 9 --exclude 'app/fapg.db*' # Files
10 Added: if [ $? -eq 0 ]; then echo App deployed to $remote_app; fi
11 Added:
10 12 echo Deploying static files:
11 13 rsync -azvP ./app/static $remote_static --chown=mpeter:www-data
12 Removed: echo App deployed to $remote_app
13 Removed: echo Static files to $remote_static.
14 Added: if [ $? -eq 0 ]; then echo Static files to $remote_static.; fi