codimd_docs/update.sh

10 lines
331 B
Bash
Raw Normal View History

2020-04-20 04:16:52 -05:00
#!/bin/sh
2020-04-20 04:28:13 -05:00
wget -q -O plenum.md "https://md.ccc-mannheim.de/9vP-toraQhOONftDOFuQtw/download"
2020-05-13 11:44:51 -05:00
wget -q -O p5/plenum-2020-05-12 "https://md.ccc-mannheim.de/oirNqftnSbK2esF9xFWvaw/download"
2020-04-20 04:16:52 -05:00
if [[ $(git diff --shortstat 2> /dev/null | tail -n1) != "" ]]; then
git commit -m "bot update" *.md
2020-04-22 10:05:18 -05:00
git remote | xargs -L1 git push --all
2020-04-20 04:16:52 -05:00
fi