From a673d6bc46feba7e47518a5cbbf3f2c4415db1bd Mon Sep 17 00:00:00 2001 From: Josh Morgenstern <josh@morgenstern.dev> Date: Tue, 18 May 2021 01:11:52 +0200 Subject: [PATCH] [#29] change mv to rsync --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4185abc8..9c387cb0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -48,8 +48,8 @@ deploy_doc_develop: variables: GIT_STRATEGY: none script: - - mv doc/html /var/www//html - - echo "Check it out at https://vkcv.de/" + - rsync -avh doc/html /var/www/html/develop --delete + - echo "Check it out at https://vkcv.de/develop" deploy_doc_branch: except: @@ -64,5 +64,5 @@ deploy_doc_branch: variables: GIT_STRATEGY: none script: - - mv doc/html /var/www/html/branch/$CI_COMMIT_BRANCH + - rsync -avh doc/html /var/www/html/branch/$CI_COMMIT_BRANCH --delete - echo "Check it out at https://vkcv.de/branch/$CI_COMMIT_BRANCH" \ No newline at end of file -- GitLab