From ec85d3a13ca1371913a3e8cac0c3e09cbc0ac44f Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 18 Feb 2022 18:59:41 -0300 Subject: Applying workaround since exclude patterns are not working --- Makefile.env | 6 ++++++ ikiwiki.yaml | 1 + 2 files changed, 7 insertions(+) diff --git a/Makefile.env b/Makefile.env index 32e66a1..f41c74a 100644 --- a/Makefile.env +++ b/Makefile.env @@ -18,8 +18,14 @@ HTTP_BASE = www web: jhead mat + @#echo Applying workaround since exclude patterns are not working... + @find vendor -name '*.md' -exec rm {} \; + @ikiwiki --setup ikiwiki.yaml + @#echo Cleaning up... + git submodule foreach git restore . + web_deploy: @rsync -avz --delete www/ blog:/var/sites/blog/www/ diff --git a/ikiwiki.yaml b/ikiwiki.yaml index 949c2cb..0be3737 100644 --- a/ikiwiki.yaml +++ b/ikiwiki.yaml @@ -99,6 +99,7 @@ ENV: {} # regexp of normally excluded files to include include: ^\.htaccess$ # regexp of files that should be skipped +#exclude: (^(www|drafts|vendor).*) exclude: (?^i:(www|drafts|vendor)) # specifies the characters that are allowed in source filenames wiki_file_chars: -[:alnum:]+/.:_ -- cgit v1.2.3