image: brospars/pandoc-gitlab-ci:latest pages: stage: deploy script: - pandoc --version - for file in $(find -name "*.md") $(find -name "*.org"); do bin/pandoc_fixer.pl ${file}; echo "Creating" public/`dirname ${file}`; echo "${file%.*}.html" >> public/index.html; mkdir -p public/`dirname ${file}`; mv ${file%.*}.html public/`dirname ${file}`/; done - shopt -s extglob artifacts: paths: - public only: - master