aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2022-02-18 18:59:41 -0300
committerSilvio Rhatto <rhatto@riseup.net>2022-02-18 18:59:41 -0300
commitec85d3a13ca1371913a3e8cac0c3e09cbc0ac44f (patch)
tree3536cf7a48e5c3e160cfdac9a7f0770491835998
parent0829c974468e911f5167d058f874d92fb0c30188 (diff)
downloadblog-ec85d3a13ca1371913a3e8cac0c3e09cbc0ac44f.tar.gz
blog-ec85d3a13ca1371913a3e8cac0c3e09cbc0ac44f.tar.bz2
Applying workaround since exclude patterns are not working
-rw-r--r--Makefile.env6
-rw-r--r--ikiwiki.yaml1
2 files changed, 7 insertions, 0 deletions
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:]+/.:_