codimd_docs/update.sh
2020-04-20 11:36:54 +02:00

8 lines
209 B
Bash
Executable file

#!/bin/sh
wget -q -O plenum.md "https://md.ccc-mannheim.de/9vP-toraQhOONftDOFuQtw/download"
if [[ $(git diff --shortstat 2> /dev/null | tail -n1) != "" ]]; then
git commit -m "bot update" *.md
git push
fi