Commit ea6b42c6 authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Merge branch 'gitlab-ci' into 'master'

Generate HTML and PDF in .gitlab-ci.yml



See merge request !1
parents 93933bad 4a498085
Pipeline #1164 passed with stage
in 1 minute and 13 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