Newer
Older
# This file is a template, and might need editing before it works on your project.
# Full project: https://gitlab.com/pages/plain-html
- apk add --no-cache --upgrade bash
- ./preprocMd.sh
artifacts:
paths:
- build/*.md
stage: test
dependencies: [preprocessing]
name: pandoc/latex:latest
entrypoint: ["/bin/sh", "-c"]
- pandoc --standalone topics/topic-template.md -o build/topic-template.html --mathjax
- build/*.html
pages:
stage: deploy
script:
- mkdir .public
- cp -r build/*.html .public
- mv .public public
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH