Commit a1293f9a authored by Daniele Venzano's avatar Daniele Venzano

Clean database before restarting the new deployment

parent 9389b283
......@@ -111,6 +111,7 @@ frontend:
script:
- rsync -avz . ubuntu@${STAGING_IP}:${ZOE_STAGING_PATH}
- ssh ubuntu@${STAGING_IP} sudo pip install --upgrade -r /srv/zoe/requirements.txt
- ssh ubuntu@${STAGING_IP} /home/ubuntu/clean_zoe_db.sh
- ssh ubuntu@${STAGING_IP} sudo supervisorctl restart zoe-api
- ssh ubuntu@${STAGING_IP} sudo supervisorctl restart zoe-master
- cd zoe_fe
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment