Unverified Commit 4a498085 authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Generate HTML and PDF in .gitlab-ci.yml

parent 93933bad
Pipeline #1163 passed with stage
in 1 minute and 9 seconds
image: asciidoc
stages:
- documentation
html:
script:
- cd $CI_PROJECT_DIR && asciidoctor pm-contributions.adoc
stage: documentation
artifacts:
paths:
- pm-contributions.html
tags:
- docker-images
pdf:
script:
- cd $CI_PROJECT_DIR && asciidoctor-pdf -a pdf-stylesdir=resources -n -a pdf-styles=sfl -a pdf-fontsdir=assets/fonts pm-contrib.pdf
- cd $CI_PROJECT_DIR && asciidoctor-pdf -a pdf-stylesdir=resources -n -a pdf-style=sfl -a pdf-fontsdir=assets/fonts pm-contributions.adoc
stage: documentation
artifacts:
paths:
- pm-contributions.pdf
tags:
- docker-images
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment