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:
commit
8f2b697f05
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user