Skip html exports when syncinc wikis

This commit is contained in:
Michael Mandl 2020-11-06 13:50:44 +01:00
parent 88b23fa9db
commit 53b8374c75
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7

View file

@ -2,10 +2,11 @@
for wiki in ~/vimwiki/* for wiki in ~/vimwiki/*
do do
[[ $wiki =~ _html$ ]] && continue
echo Synching $wiki echo Synching $wiki
git -C $wiki pull --rebase --autostash git -C $wiki pull --rebase --autostash
git -C $wiki add . git -C $wiki add .
git -C $wiki commit -a -n -m "Auto-update" git -C $wiki commit -a -n -m "Auto-update"
git -C $wiki push git -C $wiki push
echo done. echo done synching $wiki.
done done