diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a678ab53078f12fa0fd797eb4ea60aa217fe4056..16e761dde09686ec05f44647bacd99600fc41a2a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -175,6 +175,8 @@ etex-test: documentation: image: harbor.wolke.img.univie.ac.at/podman/mkdocs-computer:latest stage: build + rules: + - if: '$CI_COMMIT_REF_NAME == "master"' script: - cd ./documentation && mkdocs build -c --verbose - - sshpass -p "$WOLKE_PASSWORD" rsync -autv --delete -e "ssh -o StrictHostKeyChecking=no" /tmp/cr-site/* "$WOLKE_USER@wolke.img.univie.ac.at:/var/www/html/documentation/flexpart" \ No newline at end of file + - sshpass -p "$WOLKE_PASSWORD" rsync -autv --delete -e "ssh -o StrictHostKeyChecking=no" /tmp/cr-site/* "$WOLKE_USER@wolke.img.univie.ac.at:/var/www/flexpart/docs" \ No newline at end of file