diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d297b5afb2480c928ff0034622a4d8fd075dfef4..f7f54b4e2a928feb59ddc3064342163380ac64d7 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 9ccc2c4bacaa9e5e39a526da2a098bbb36ed4943..fc2acca0fa04701615a343909062191d85fc937c 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: