Skip to content
Snippets Groups Projects
Commit 2c095d0f authored by Michael Blaschek's avatar Michael Blaschek :bicyclist:
Browse files

added gitlab ci documentation on master only

Former-commit-id: 783cd1ab
parent 200ec176
No related branches found
No related tags found
No related merge requests found
...@@ -175,6 +175,8 @@ etex-test: ...@@ -175,6 +175,8 @@ etex-test:
documentation: documentation:
image: harbor.wolke.img.univie.ac.at/podman/mkdocs-computer:latest image: harbor.wolke.img.univie.ac.at/podman/mkdocs-computer:latest
stage: build stage: build
rules:
- if: '$CI_COMMIT_REF_NAME == "master"'
script: script:
- cd ./documentation && mkdocs build -c --verbose - 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" - 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 \ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment