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.