diff options
author | Brad King <brad.king@kitware.com> | 2021-05-06 18:28:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-05-07 14:14:29 (GMT) |
commit | a5a4b0b6ab01a6747a9ee4aed3693836f77c3eef (patch) | |
tree | affb25b8d2ad35fdc1e37737d606f65c9f0946d5 /.gitlab | |
parent | 354ae6fe2e48d15ed205b39b59f553f1e32aa8dd (diff) | |
download | CMake-a5a4b0b6ab01a6747a9ee4aed3693836f77c3eef.zip CMake-a5a4b0b6ab01a6747a9ee4aed3693836f77c3eef.tar.gz CMake-a5a4b0b6ab01a6747a9ee4aed3693836f77c3eef.tar.bz2 |
gitlab-ci: add jobs to upload cmake.org/cmake/help/git-{master,stage} docs
Diffstat (limited to '.gitlab')
-rw-r--r-- | .gitlab/upload.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.gitlab/upload.yml b/.gitlab/upload.yml index 9294386..3253fd3 100644 --- a/.gitlab/upload.yml +++ b/.gitlab/upload.yml @@ -16,3 +16,20 @@ - chmod 400 $RSYNC_BINARY_KEY - ssh-keygen -y -f $RSYNC_BINARY_KEY > $RSYNC_BINARY_KEY.pub - rsync -tv --recursive -e "ssh -i $RSYNC_BINARY_KEY -o StrictHostKeyChecking=no -o LogLevel=ERROR" build/ kitware@cmake.org:$RSYNC_DESTINATION/ + +.rsync_upload_help: + stage: upload + image: "fedora:33" + tags: + - docker + - linux + - build + environment: + name: rsync-upload + + script: + - ls build/html/index.html + - dnf install -y --setopt=install_weak_deps=False rsync openssh-clients + - chmod 400 $RSYNC_HELP_KEY + - ssh-keygen -y -f $RSYNC_HELP_KEY > $RSYNC_HELP_KEY.pub + - rsync -tv --recursive --delete -e "ssh -i $RSYNC_HELP_KEY -o StrictHostKeyChecking=no -o LogLevel=ERROR" build/html/ kitware@cmake.org:$RSYNC_DESTINATION/ |