Loading .deploy_code_to_server.yml +2 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,8 @@ - 'which curl || (apt-get update -y && apt-get install curl -y)' - curl -O https://gitlab.cetera.ru/boilerplate/ci/raw/ci-delete/rsync-filter-std - *set_rsync_filter - rsync -avz --chown=33:33 --numeric-ids --delete -e "ssh -o StrictHostKeyChecking=no -o IdentitiesOnly=yes -i $HOME/.ssh/deploy.key " --filter="merge rsync-filter-std" --filter="merge $PROJECT_FILTER" --dry-run $CI_PROJECT_DIR/ root@${!PROJECT_SERVER}::www/${!PROJECT_SITE}/ - export RSYNC_PARAMS="--delete --dry-run" - rsync -avz --chown=33:33 --numeric-ids -e "ssh -o StrictHostKeyChecking=no -o IdentitiesOnly=yes -i $HOME/.ssh/deploy.key " --filter="merge rsync-filter-std" --filter="merge $PROJECT_FILTER" $RSYNC_PARAMS $CI_PROJECT_DIR/ root@${!PROJECT_SERVER}::www/${!PROJECT_SITE}/ only: refs: - beta Loading Loading
.deploy_code_to_server.yml +2 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,8 @@ - 'which curl || (apt-get update -y && apt-get install curl -y)' - curl -O https://gitlab.cetera.ru/boilerplate/ci/raw/ci-delete/rsync-filter-std - *set_rsync_filter - rsync -avz --chown=33:33 --numeric-ids --delete -e "ssh -o StrictHostKeyChecking=no -o IdentitiesOnly=yes -i $HOME/.ssh/deploy.key " --filter="merge rsync-filter-std" --filter="merge $PROJECT_FILTER" --dry-run $CI_PROJECT_DIR/ root@${!PROJECT_SERVER}::www/${!PROJECT_SITE}/ - export RSYNC_PARAMS="--delete --dry-run" - rsync -avz --chown=33:33 --numeric-ids -e "ssh -o StrictHostKeyChecking=no -o IdentitiesOnly=yes -i $HOME/.ssh/deploy.key " --filter="merge rsync-filter-std" --filter="merge $PROJECT_FILTER" $RSYNC_PARAMS $CI_PROJECT_DIR/ root@${!PROJECT_SERVER}::www/${!PROJECT_SITE}/ only: refs: - beta Loading