Skip to content
Snippets Groups Projects
Commit 1b6405fd authored by Michelle Weidling's avatar Michelle Weidling :blowfish:
Browse files

feat: add ePub

parent 2e4d841d
No related branches found
No related tags found
1 merge request!80Resolve "Create EPUB version of document"
Pipeline #297906 passed
......@@ -44,6 +44,20 @@ create_pdf:
paths:
- technical-reference.pdf
create_epub:
stage: compile
services:
- docker:19.03-dind
image: docker:19.03
before_script:
- docker run --rm pandoc/latex:2.9.1.1 pandoc --version
script:
- docker run --rm -v $(pwd):/data pandoc/latex:2.9.1.1 pandoc technical-reference.md -o technical-reference.epub --shift-heading-level-by=-1
artifacts:
expose_as: 'draft epub'
paths:
- technical-reference.epub
release:
stage: release
......
......@@ -42,6 +42,10 @@
"path": "technical-reference.pdf",
"label": "Technical Reference (PDF)"
},
{
"path": "technical-reference.epub",
"label": "Technical Reference (EPUB)"
},
{
"path": "technical-reference.md",
"label": "Technical Reference (MD)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment