diff options
Diffstat (limited to 'deploy.sh')
| -rwxr-xr-x | deploy.sh | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -42,17 +42,6 @@ systemctl stop ${SERVICE} || true echo "Swapping binary..." mv app.new app -echo "Checking out latest code (backup)..." -# We keep this for reference, but we deployed assets via rsync from local -if [ -d "app-code" ]; then - cd app-code - GIT_WORK_TREE=${SITE_DIR}/checkout git checkout -f master 2>/dev/null || { - mkdir -p ${SITE_DIR}/checkout - GIT_WORK_TREE=${SITE_DIR}/checkout git checkout -f master - } - cd ${SITE_DIR} -fi - echo "Setting permissions..." chown -R www-data:www-data ${SITE_DIR} find ${SITE_DIR} -type d -exec chmod 755 {} \; |
