Commit 80711fd0 authored by Daniele Venzano's avatar Daniele Venzano

Reset file permissions before trying to overwrite/delete them

parent 09a1c365
......@@ -133,6 +133,7 @@ zoe:
- 'echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- apt-get update -y && apt-get install rsync -y
- ssh ubuntu@${STAGING_IP} sudo chown -R ubuntu:ubuntu *
- rsync -avz --delete . 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/
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