codimd_docs/update.sh

9 lines
209 B
Bash
Raw Normal View History

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