Fix bug in documentation build script

This commit is contained in:
Marcel Schwarz 2020-05-30 20:10:12 +00:00
parent 8f2b697f05
commit 9a8faa3f0d

View File

@ -49,11 +49,12 @@ build-documentation:
stage: build stage: build
script: script:
- export CI_JOB_TIMESTAMP=$(date --utc -I) - export CI_JOB_TIMESTAMP=$(date --utc -I)
- cd documentation
- latexmk -pdf documentation - latexmk -pdf documentation
- mv "documentation.pdf" "documentation-${CI_JOB_TIMESTAMP}.pdf" - mv "documentation.pdf" "documentation-${CI_JOB_TIMESTAMP}.pdf"
artifacts: artifacts:
paths: paths:
- "documentation*.pdf" - "**/documentation*.pdf"
rules: rules:
- if: $CI_MERGE_REQUEST_ID - if: $CI_MERGE_REQUEST_ID
changes: changes: