fix: Make development docs available again

This commit is contained in:
Georg krause 2023-04-05 20:53:10 +02:00
commit 83baaa27c8
7 changed files with 180 additions and 164 deletions

View file

@ -388,13 +388,13 @@ deploy_docs:
- job: build_docs
artifacts: true
rules:
- if: $CI_COMMIT_BRANCH == "stable"
- if: $CI_COMMIT_BRANCH =~ /(stable|develop)/
image: $CI_REGISTRY/funkwhale/ci/python:3.11
variables:
GIT_STRATEGY: none
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/$CI_COMMIT_REF_NAME
.docker:
interruptible: false