diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6f91ae400776bd8279eaaff2e0a28567bb017d28..01e1c83e3bcbb209b7cf88aa1ee6c61250366017 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,12 +7,12 @@ pages: - pandoc --help # - pandoc --list-input-formats # Broken as pandoc dates from 2013 on this image! :( - 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"; - sed -i 's|https://gitlab.inria.fr/learninglab/|https://learninglab.gitlabpages.inria.fr/|g' ${file%.*}.html - sed -i "s||The original version of this document is available on gitlab.|g" ${file%.*}.html - sed -i "s|\-\-\-

|
|g" ${file%.*}.html - sed -i "s|

TITLE: \(.*\)TITLE: \1Date\1|The original version of this document is available on gitlab.|g" ${file%.*}.html; + sed -i "s|\-\-\-

|
|g" ${file%.*}.html; + sed -i "s|

TITLE:\(.*\)TITLE:\1Date\1