diff --git a/tasks.py b/tasks.py index 44c4c94..a33596f 100644 --- a/tasks.py +++ b/tasks.py @@ -33,3 +33,6 @@ def release(c): # upload zip archive to server c.run(f'scp dist/{filename} weather.edbob.org:/srv/myweather/releases/{filename}') c.run(f"ssh weather.edbob.org 'cd /srv/myweather/releases; ln -sf {filename} latest.zip'") + + # run upgrade on server + c.run('ssh weather.edbob.org /srv/myweather/upgrade.sh')