Commit a408647b authored by Arnaud Legrand's avatar Arnaud Legrand

Trying to set up html export through the gitlab pages mechanism

parent 23b9164b
pages:
stage: deploy
script:
- 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";
done
- for file in $(find -name "*.org"); do
pandoc -s -f org -t html -o ${file%.*}.html $file && echo "Exported ${file%.*}.html" || echo "ERROR $file";
done
- shopt -s extglob
- mv !(public) public
artifacts:
paths:
- public
only:
- master
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