diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 41c6ac8325dc9497fffcee9aadf0e50242272b2f..a8383541dded306db6354da92fa2e8cce41b3a80 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,16 +3,14 @@ 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") $(find -name "*.org"); do bin/pandoc_fixer.pl ${file}; echo "Creating" public/`dirname ${file}`; + echo "${file%.*}.html" >> index.html mkdir -p public/`dirname ${file}`; mv ${file%.*}.html public/`dirname ${file}`/; done - shopt -s extglob - # - mv !(public) public artifacts: paths: - public