diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..f1777928c6b373b25fc09743201fb2600f91ad33 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,16 @@ +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