From db7472a54e1676275d078ed41f484ca374362600 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 29 Sep 2016 17:59:24 +0200 Subject: [PATCH] Added Attract to our deploy script --- deploy.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/deploy.sh b/deploy.sh index c8c74ed..06a8e1e 100755 --- a/deploy.sh +++ b/deploy.sh @@ -39,6 +39,22 @@ if [ $(git -C $PILLAR_DIR rev-parse --abbrev-ref HEAD) != "production" ]; then exit 1 fi +# Find Attract +ATTRACT_DIR=$(python <&2 + exit 1 +fi # SSH to cloud to pull all files in function git_pull() { @@ -55,12 +71,14 @@ function git_pull() { git_pull pillar-python-sdk master git_pull pillar production +git_pull attract production git_pull blender-cloud production # Update the virtualenv #${SSH} -t docker exec ${DOCKER_NAME} /data/venv/bin/pip install -U -r ${REMOTE_ROOT}/requirements.txt --exists-action w # RSync the world +$ATTRACT_DIR/rsync_ui.sh ./rsync_ui.sh # Notify Bugsnag of this new deploy.