From 9721d91d2df8252a5719d2b1439459603a54f14b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Fel=C5=A1=C3=B6ci?= <marek.felsoci@inria.fr> Date: Wed, 29 Mar 2023 18:35:35 +0200 Subject: [PATCH] Fix path --- .compose-gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.compose-gitlab-ci.yml b/.compose-gitlab-ci.yml index 7aa0597..2db99a0 100644 --- a/.compose-gitlab-ci.yml +++ b/.compose-gitlab-ci.yml @@ -57,13 +57,13 @@ pages: - mkdir -p public/ # Publish the org content - - guix time-machine -C ../.guix-extra/channels-compose-fixed.scm -- shell --pure -m .guix-extra/manifest-compose.scm -- emacs --batch --no-init-file --load publish.el --funcall org-publish-all + - guix time-machine -C .guix-extra/channels-compose-fixed.scm -- shell --pure -m .guix-extra/manifest-compose.scm -- emacs --batch --no-init-file --load publish.el --funcall org-publish-all # Make sitemap of public folder and point index.html to README.html is no index is there: - > for folder in $(find public/ -type d) ; do - guix time-machine -C ../.guix-extra/channels-compose-fixed.scm -- shell --pure tree -- tree -L 1 -H '.' --dirsfirst --noreport --charset utf-8 $folder > $folder/sitemaptree.html ; + guix time-machine -C .guix-extra/channels-compose-fixed.scm -- shell --pure tree -- tree -L 1 -H '.' --dirsfirst --noreport --charset utf-8 $folder > $folder/sitemaptree.html ; sed -i 's/href=".">.</href="..">..</g' $folder/sitemaptree.html ; cd $folder if [ ! -e index.html -a -e README.html ] ; then -- GitLab