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
No related tags found
No related merge requests found
stages: stages:
- static
- dynamic - dynamic
default: default:
tags: tags:
- podman - 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: build:
image: harbor.wolke.img.univie.ac.at/podman/flexextract_sphinx:latest image: harbor.wolke.img.univie.ac.at/podman/flexextract_sphinx:latest
stage: dynamic stage: dynamic
...@@ -29,6 +20,8 @@ build: ...@@ -29,6 +20,8 @@ build:
deploy: deploy:
stage: dynamic stage: dynamic
image: harbor.wolke.img.univie.ac.at/podman/alpine-sshpass:latest image: harbor.wolke.img.univie.ac.at/podman/alpine-sshpass:latest
rules:
- if: '$CI_COMMIT_REF_NAME == "master"'
needs: needs:
- build - build
script: script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment