diff options
Diffstat (limited to '.gitlab/upload.yml')
-rw-r--r-- | .gitlab/upload.yml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/.gitlab/upload.yml b/.gitlab/upload.yml index a1d86a6..d831c3e 100644 --- a/.gitlab/upload.yml +++ b/.gitlab/upload.yml @@ -16,11 +16,9 @@ - dnf install -y --setopt=install_weak_deps=False rsync openssh-clients - chmod 400 $RSYNC_BINARY_KEY - ssh-keygen -y -f $RSYNC_BINARY_KEY > $RSYNC_BINARY_KEY.pub + - test -n "$RSYNC_DESTINATION" - rsync -tv --recursive -e "ssh -i $RSYNC_BINARY_KEY -o StrictHostKeyChecking=no -o LogLevel=ERROR" build/ kitware@cmake.org:$RSYNC_DESTINATION/ - variables: - CMAKE_CI_JOB_UPLOAD_PACKAGE: "true" - .rsync_upload_help: stage: upload image: "fedora:35" @@ -37,4 +35,5 @@ - 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 + - test -n "$RSYNC_DESTINATION" - rsync -tv --recursive --delete -e "ssh -i $RSYNC_HELP_KEY -o StrictHostKeyChecking=no -o LogLevel=ERROR" build/html/ kitware@cmake.org:$RSYNC_DESTINATION/ |