diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2d4a740fbca9c9f835ebdfcf8170de914bf1d6a6..133d3859e57814ec12851904944ad73a7611b6cb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,7 +11,7 @@ pages: mkdir -p public/`dirname ${file}`; mv ${file%.*}.html public/`dirname ${file}`/; done - - cat html_src_files.lst | sed 's|^./|- file:./|' > index.org + - cat html_src_files.lst | sed -e 's|.md$|.html|' -e 's|.org$|.html|' -e 's|^./\(.*\)$|- [[./\1]]|' > index.org - pandoc -s -f org -t html -o public/index.html index.org artifacts: paths: diff --git a/gitlab-ci.org b/gitlab-ci.org index 6ad6ae224856854116a86d5b65c6b54b247035f0..0771f4a83a1e345a4e23a70e4436c670ccd2183a 100644 --- a/gitlab-ci.org +++ b/gitlab-ci.org @@ -76,7 +76,7 @@ pages: mkdir -p public/`dirname ${file}`; mv ${file%.*}.html public/`dirname ${file}`/; done - - cat html_src_files.lst | sed 's|^./|- file:./|' > index.org + - cat html_src_files.lst | sed -e 's|.md$|.html|' -e 's|.org$|.html|' -e 's|^./\(.*\)$|- [[./\1]]|' > index.org - pandoc -s -f org -t html -o public/index.html index.org artifacts: paths: