mirror of
https://github.com/ascribe/wp-theme
synced 2024-12-22 17:23:55 +01:00
deploy with sudo
This commit is contained in:
parent
cbd4f1063b
commit
b261a93461
@ -5,7 +5,7 @@
|
|||||||
set -e;
|
set -e;
|
||||||
|
|
||||||
if [ $CI_BRANCH == "master" ]; then
|
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;
|
fi;
|
||||||
|
|
||||||
exit;
|
exit;
|
||||||
|
Loading…
Reference in New Issue
Block a user