Commit 7b79a713 authored by Thomas Fragner's avatar Thomas Fragner
Browse files

Update .gitlab-ci.yml

parent e0d706e8
Pipeline #93 passed with stages
in 3 minutes and 9 seconds
......@@ -2,6 +2,11 @@
# Full project: https://gitlab.com/pages/hugo
image: meroff/hugo-with-pandoc
stages:
- build
- combine
- publish
.build-prepare:
stage: build
before_script:
......@@ -16,10 +21,6 @@ image: meroff/hugo-with-pandoc
- pip install -r .pandoc/requirements.txt
- cp -purv .pandoc ~/
stages:
- build
- publish
build-hugo:
extends: .build-prepare
stage: build
......@@ -36,7 +37,16 @@ build-pdf:
stage: build
script:
- ./bin/compile-pdf.sh
- cp -purv build/pdf/content/* public/
artifacts:
paths:
- build
only:
- master
combine:
stage: combine
script:
- if [[ -e build ]] ; then cp -purv build/pdf/content/* public/ ; fi
artifacts:
paths:
- public
......
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