This commit is contained in:
@@ -6,6 +6,6 @@ ssh-keyscan -t rsa $DEPLOY_HOST >> $HOME/.ssh/known_hosts
|
|||||||
chown -R $(whoami) .
|
chown -R $(whoami) .
|
||||||
|
|
||||||
sshpass -p "$DEPLOY_PASSWORD" \
|
sshpass -p "$DEPLOY_PASSWORD" \
|
||||||
rsync -avzr \
|
rsync -avzrO \
|
||||||
-e 'ssh -o "StrictHostKeyChecking no"' \
|
-e 'ssh -o "StrictHostKeyChecking no"' \
|
||||||
./public/ $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_PATH
|
./public/ $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_PATH
|
||||||
|
|||||||
Reference in New Issue
Block a user