Commit a8b56973 authored by brospars's avatar brospars

Re-add index with all generated html

parent 24c0a06b
......@@ -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 "<a style='display:block;' href='${file%.*}.html'>${file%.*}.html</a>" >> index.html
mkdir -p public/`dirname ${file}`;
mv ${file%.*}.html public/`dirname ${file}`/;
done
- shopt -s extglob
# - mv !(public) public
artifacts:
paths:
- public
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment