# image: debian:testing-20181011-slim # Non-functional on Inria Gitlab :( pages: stage: deploy script: - pandoc --version - pandoc --help # - pandoc --list-input-formats # Broken as pandoc dates from 2013 on this image! :( - for file in $(find -name "*.md"); do pandoc -s -f markdown_github -t html -o ${file%.*}.html $file && echo "Exported ${file%.*}.html" || echo "ERROR $file"; sed -i 's|https://gitlab.inria.fr/learninglab/|https://learninglab.gitlabpages.inria.fr/|g' ${file%.*}.html; sed -i "s|
|The original version of this document is available on gitlab.|g" ${file%.*}.html; sed -i "s|\-\-\-|TITLE:\(.*\)
TITLE:\1
Date\1