mirror of
https://github.com/TeachBooks/manual.git
synced 2026-11-12 22:35:51 +00:00
Update .gitlab-ci.yml
- Exclude venv/ from rsync - Clean up cache
This commit is contained in:
parent
b19feb7fa9
commit
aa01e9634d
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue