From aa01e9634d84def1396aebb49c0f39497f35f5fa Mon Sep 17 00:00:00 2001 From: Caspar Jungbacker Date: Tue, 18 Apr 2023 11:48:46 +0200 Subject: [PATCH] Update .gitlab-ci.yml - Exclude venv/ from rsync - Clean up cache --- .gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ee90781..8717c55 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,7 +11,6 @@ cache: paths: - .cache/pip - venv/ - - archive/_build before_script: - python -V @@ -43,7 +42,7 @@ push-html: - git fetch origin publish-html - git checkout publish-html script: - - rsync -av --delete-after --exclude=".git/" --exclude=".cache/" ./book/_build/html/ . + - rsync -av --delete-after --exclude=".git/" --exclude=".cache/" --exclude="venv/" ./book/_build/html/ . - git add --all -- ':!.cache/*' - git commit --allow-empty -m "$CI_COMMIT_MESSAGE" - git push https://gitlab-ci-token:$ACCESS_TOKEN@gitlab.tudelft.nl/$CI_PROJECT_PATH.git publish-html