codimd_docs/update.sh

10 lines
423 B
Bash
Executable file

#!/bin/sh
wget -q -O plenum.md "https://md.ccc-mannheim.de/9vP-toraQhOONftDOFuQtw/download"
wget -q -O p5/plenum-2020-05-12.md "https://md.ccc-mannheim.de/oirNqftnSbK2esF9xFWvaw/download"
wget -q -O open_software.md "https://md.ccc-mannheim.de/-H4XaDXbTn-3q_ES2RTxDA/download"
if [[ $(git diff --shortstat 2> /dev/null | tail -n1) != "" ]]; then
git commit -m "bot update" *.md
git remote | xargs -L1 git push --all
fi