From cf45b2f3dfddb7af2ea28c564e21e1b253e1203f Mon Sep 17 00:00:00 2001 From: Marco Holz <marco.holz@fitko.de> Date: Thu, 19 Aug 2021 12:33:58 +0000 Subject: [PATCH] CI: delete files from destination dirs --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d3e1bdcc4..290dc0d3a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -51,7 +51,7 @@ upload:review: before_script: - *pre-deploy-uber-space-setup script: - - rsync -rLvz --size-only --checksum -e "ssh -o CheckHostIP=no" --ipv4 --progress ./build/. fitko@dorado.uberspace.de:html/preview/fit-connect/$CI_COMMIT_REF_SLUG + - rsync -rLvz --delete --checksum -e "ssh -o CheckHostIP=no" --ipv4 --progress ./build/. fitko@dorado.uberspace.de:html/preview/fit-connect/$CI_COMMIT_REF_SLUG upload:production: stage: upload @@ -66,7 +66,7 @@ upload:production: before_script: - *pre-deploy-uber-space-setup script: - - rsync -rLvz --size-only --checksum -e "ssh -o CheckHostIP=no" --ipv4 --progress ./build/. fitko@dorado.uberspace.de:html/fit-connect + - rsync -rLvz --delete --checksum -e "ssh -o CheckHostIP=no" --ipv4 --progress ./build/. fitko@dorado.uberspace.de:html/fit-connect stop:review: stage: .post -- GitLab