Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 9721d91d authored by FELŠÖCI Marek's avatar FELŠÖCI Marek
Browse files

Fix path

parent f9d3f6c9
No related branches found
No related tags found
No related merge requests found
Pipeline #779499 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment