Commit 2d678a98 authored by brospars's avatar brospars

Test deploy pages with pandoc

parent f82c322c
image: binarin/org-export pages:
stages: stage: deploy
- build
build:
stage: build
script: script:
- ls -al / - mkdir .public
# - for file in $(find -name "*.org"); do - for file in $(find -name "*.md"); do
# emacs --batch --load /emacs/export.el --file $file --eval '(org-html-export-to-html)' && echo "Exported $file" || echo "ERROR $file"; pandoc -s -f markdown_github -t html -o ${file%.*}.html $file && echo "Exported ${file%.*}.html" || echo "ERROR $file";
# done done
# artifacts: - cp -r * .public
# expire_in: 1 day - mv .public public
# paths: artifacts:
# - module1/ressources/*.html paths:
# - module2/ressources/*.html - public
# - module3/ressources/*.html
# - module4/ressources/*.html
only: only:
- ci - ci
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