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

Update .gitlab-ci.yml file for automatic doc build

parent f0d4c81c
Branches master
No related tags found
No related merge requests found
stages:
- static
- dynamic
- dynamic
default:
tags:
- podman
static-copy:
stage: static
image: harbor.wolke.img.univie.ac.at/podman/alpine-sshpass:latest
when: manual
script:
- ls ./Documentation/html/
- sshpass -p "$WOLKE_PASSWORD" rsync -autv --delete -e "ssh -o StrictHostKeyChecking=no" ./Documentation/html/* "$WOLKE_USER@wolke.img.univie.ac.at:/var/www/flexpart/flexextract"
build:
image: harbor.wolke.img.univie.ac.at/podman/flexextract_sphinx:latest
stage: dynamic
script:
# --strict is too strict :)
- cd For_developers/Sphinx
- make html
artifacts:
paths:
- For_developers/Sphinx/Documentation/html/*
expire_in: 60 seconds
image: harbor.wolke.img.univie.ac.at/podman/flexextract_sphinx:latest
stage: dynamic
script:
# --strict is too strict :)
- cd For_developers/Sphinx
- make html
artifacts:
paths:
- For_developers/Sphinx/Documentation/html/*
expire_in: 60 seconds
deploy:
stage: dynamic
image: harbor.wolke.img.univie.ac.at/podman/alpine-sshpass:latest
rules:
- if: '$CI_COMMIT_REF_NAME == "master"'
needs:
- build
script:
- sshpass -p "$WOLKE_PASSWORD" rsync -autv --delete -e "ssh -o StrictHostKeyChecking=no" ./For_developers/Sphinx/Documentation/html/* "$WOLKE_USER@wolke.img.univie.ac.at:/var/www/flexpart/flexextract"
- sshpass -p "$WOLKE_PASSWORD" rsync -autv --delete -e "ssh -o StrictHostKeyChecking=no" ./For_developers/Sphinx/Documentation/html/* "$WOLKE_USER@wolke.img.univie.ac.at:/var/www/flexpart/flexextract"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment