From: Paul Bauer Date: Wed, 6 Jan 2021 13:47:33 +0000 (+0100) Subject: Fix nightly webpage upload X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=commitdiff_plain;h=3cf3517ac02cf3da39b91d3263cbc5c4d92a062e;p=alexxy%2Fgromacs.git Fix nightly webpage upload When the server got changed this wasn't changed, so the nightly build docs have been stale for a while. --- diff --git a/admin/gitlab-ci/archive.gitlab-ci.yml b/admin/gitlab-ci/archive.gitlab-ci.yml index a173641112..67c51d7f3b 100644 --- a/admin/gitlab-ci/archive.gitlab-ci.yml +++ b/admin/gitlab-ci/archive.gitlab-ci.yml @@ -259,11 +259,11 @@ archive:nightly-webpage: - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - - mkdir -p ~/.ssh - chmod 700 ~/.ssh - - ssh-keyscan www.gromacs.org > ~/.ssh/known_hosts # Force overwrite the known hosts so we only have that one key in it. + - ssh-keyscan manual.gromacs.org > ~/.ssh/known_hosts # Force overwrite the known hosts so we only have that one key in it. - chmod 644 ~/.ssh/known_hosts script: - tar czf webpage.tar.gz $BUILD_DIR/docs/html/ - - rsync --chmod=u+rwX,g+rwX,o+rX -av $BUILD_DIR/docs/html/* $BUILD_DIR/docs/html/.[a-z]* pbauer@www.gromacs.org:/var/www/manual/nightly/ + - rsync --chmod=u+rwX,g+rwX,o+rX -av $BUILD_DIR/docs/html/* $BUILD_DIR/docs/html/.[a-z]* pbauer@manual.gromacs.org:/var/www/manual/nightly/ artifacts: when: always