diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ebce265a71bc2e4acca27e82a96668397aff09ab..7ee62243eef780a98ec061735c2b3635d8a44122 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 -e 's|.md$|.html|' -e 's|.org$|.html|' -e 's|^./\([^ ]*\) *# *\([^ ]*\)|- [[./\1]] (\2)|' > index.org + - cat html_src_files.lst | sed -e 's|.md *#|.html|' -e 's|.org *#|.html|' -e 's|^./\([^ ]*\) *# *\([^ ]*\)|- [[./\1]] (\2)|' > 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 9be2022c2a3cf9689c523b15047abd921a764f23..c0fb64d192b8cf0d5ec6ed8bf3d841a902b29e65 100644 --- a/gitlab-ci.org +++ b/gitlab-ci.org @@ -19,7 +19,7 @@ pages: mkdir -p public/`dirname ${file}`; mv ${file%.*}.html public/`dirname ${file}`/; done - - cat html_src_files.lst | sed -e 's|.md$|.html|' -e 's|.org$|.html|' -e 's|^./\([^ ]*\) *# *\([^ ]*\)|- [[./\1]] (\2)|' > index.org + - cat html_src_files.lst | sed -e 's|.md *#|.html|' -e 's|.org *#|.html|' -e 's|^./\([^ ]*\) *# *\([^ ]*\)|- [[./\1]] (\2)|' > index.org - pandoc -s -f org -t html -o public/index.html index.org artifacts: paths: