From b261a93461f661a5caa1f492039b8a7d7ba62178 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Thu, 31 Mar 2016 14:44:20 +0200 Subject: [PATCH] deploy with sudo --- _ci/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_ci/deploy.sh b/_ci/deploy.sh index 41934a2..a816f8c 100755 --- a/_ci/deploy.sh +++ b/_ci/deploy.sh @@ -5,7 +5,7 @@ set -e; if [ $CI_BRANCH == "master" ]; then - rsync --recursive --delete --delete-excluded --checksum --verbose -e "ssh" $DEPLOY_SRC $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_PATH + sudo rsync --recursive --delete --delete-excluded --checksum --verbose -e "ssh" $DEPLOY_SRC $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_PATH fi; exit;