diff --git a/.compose-gitlab-ci.yml b/.compose-gitlab-ci.yml index 7aa0597b343abdf4fcdac46ca99dbb2d1c3706f0..2db99a06e8f33f3378976bfc5e0ff27eadf5d0d0 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