Loading .deploy_code_to_server.yml +2 −1 Original line number Diff line number Diff line Loading @@ -21,11 +21,12 @@ .deploy_code_to_server_with_delete: extends: .before_deploy_code variables: RSYNC_PARAMS: '--delete --dry-run' script: - '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 - 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: Loading Loading
.deploy_code_to_server.yml +2 −1 Original line number Diff line number Diff line Loading @@ -21,11 +21,12 @@ .deploy_code_to_server_with_delete: extends: .before_deploy_code variables: RSYNC_PARAMS: '--delete --dry-run' script: - '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 - 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: Loading