From a189aa235cf8ca617c34779fd55e0a575e1b9246 Mon Sep 17 00:00:00 2001 From: genofire Date: Mon, 20 Apr 2020 11:16:52 +0200 Subject: [PATCH] add bot script --- update.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 update.sh diff --git a/update.sh b/update.sh new file mode 100755 index 0000000..b38c6c4 --- /dev/null +++ b/update.sh @@ -0,0 +1,7 @@ +#!/bin/sh +wget -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 +fi +