image: brospars/pandoc-gitlab-ci:latest pages: stage: deploy script: - pandoc --version # - pandoc --help # - pandoc --list-input-formats # Broken as pandoc dates from 2013 on this image! :( - for file in `cat html_src_files.lst`; do bin/pandoc_fixer.pl ${file}; echo "Creating" public/`dirname ${file}`; mkdir -p public/`dirname ${file}`; mv ${file%.*}.html public/`dirname ${file}`/; done - cat html_src_files.lst | sed 's|^./|- file:./|' > index.org - pandoc -s -f org -t html -o public_html/index.html index.org artifacts: paths: - public only: - master