summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2018-05-02 10:59:13 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2018-05-25 20:50:43 +0200
commit3aa3f9f66cbb7c77c44eab53767c77811db50d79 (patch)
treeacdb02671ed76ba2a2014a79cb03e272a5f6574d
parent0f93d947f4596ed7872b74c9e80d94517f546380 (diff)
downloadsplus-3aa3f9f66cbb7c77c44eab53767c77811db50d79.tar.gz
splus-3aa3f9f66cbb7c77c44eab53767c77811db50d79.zip
Add a quick'n'dirty cron script
-rwxr-xr-xcron.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/cron.sh b/cron.sh
new file mode 100755
index 0000000..c29d989
--- /dev/null
+++ b/cron.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+set -x
+TMP=$(mktemp -d)
+cd $TMP
+git clone -b gh-pages git@github.com:schneefux/splus .
+npm install
+npm start
+git commit -am "Cron $(date)"
+git push
+cd /
+rm -rf $TMP