Merge branch 'documentation-pipeline' into 'master'

Add documentation build step to CI

See merge request marcel.schwarz/2020ss-qbc-geofence-timetracking!89
This commit is contained in:
Marcel Schwarz 2020-05-30 19:59:25 +00:00
commit 8f2b697f05

View File

@ -43,3 +43,20 @@ build-android:
- android/**/*
when: always
- when: never
build-documentation:
image: icaotix/latex:full-incremental
stage: build
script:
- export CI_JOB_TIMESTAMP=$(date --utc -I)
- latexmk -pdf documentation
- mv "documentation.pdf" "documentation-${CI_JOB_TIMESTAMP}.pdf"
artifacts:
paths:
- "documentation*.pdf"
rules:
- if: $CI_MERGE_REQUEST_ID
changes:
- documentation/**/*
when: always
- when: never