From 83635e6077549fd3c812452835b6921d3e77900d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=A4fer?= Date: Wed, 8 Oct 2025 12:26:09 +0200 Subject: [PATCH] Move docs host once more This new host only supports rsync-over-ssh, which means that we need to use rsync-protocol syntax (`::` instead of `:` to separate host and path), use a module name in front of the path (`www`) and explicitly request ssh (`--rsh=ssh`). skip-changelog, build infra change only. --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 057f6b139719deedbcfa15955882f7d14d26df13..d88c1bf83f1bb439be7301371b3a16ed3c27776c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -44,10 +44,10 @@ variables: - RUSTDOCFLAGS="--cfg docsrs -D warnings" RUSTFLAGS="--cfg xmpprs_doc_build" cargo +nightly doc --no-deps -Zrustdoc-map --all-features - apt install -y rsync openssh-client - mkdir -p $HOME/.ssh - - echo -e "Host docs\n\tHostname ssh.docsxmpprs.sotecware.net\n\tPort 22\n\tUser docs\n\tStrictHostKeyChecking no" > $HOME/.ssh/config + - echo -e "Host docs\n\tHostname ssh.docsxmpprs-2025.sotecware.net\n\tPort 1312\n\tUser docs\n\tStrictHostKeyChecking no" > $HOME/.ssh/config - echo "$SECRET_DOCS_SSH_PRIVATE" > $HOME/.ssh/id_ed25519 - chmod 400 $HOME/.ssh/id_ed25519 - - rsync -av target/doc/ docs:$CI_DOC_TARGET + - rsync -av --rsh=ssh target/doc/ docs::www/$CI_DOC_TARGET rules: - if: $CI_PIPELINE_SOURCE == 'merge_request_event' variables: