ci: don't clone where unneeded

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2351>
This commit is contained in:
jo 2023-01-31 19:56:17 +01:00 committed by Marge
parent 43ca4ea29c
commit 2a11e430f5
1 changed files with 2 additions and 0 deletions

View File

@ -391,6 +391,8 @@ deploy_docs:
- if: $CI_COMMIT_BRANCH == "stable" - if: $CI_COMMIT_BRANCH == "stable"
image: $CI_REGISTRY/funkwhale/ci/python:3.11 image: $CI_REGISTRY/funkwhale/ci/python:3.11
variables:
GIT_STRATEGY: none
script: script:
- rsync -r -e "ssh -p 2282" $CI_PROJECT_DIR/public/ docs@docs.funkwhale.audio:/htdocs/ - rsync -r -e "ssh -p 2282" $CI_PROJECT_DIR/public/ docs@docs.funkwhale.audio:/htdocs/