diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2018-05-02 10:59:13 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2018-05-25 20:50:43 +0200 |
| commit | 3aa3f9f66cbb7c77c44eab53767c77811db50d79 (patch) | |
| tree | acdb02671ed76ba2a2014a79cb03e272a5f6574d | |
| parent | 0f93d947f4596ed7872b74c9e80d94517f546380 (diff) | |
| download | splus-3aa3f9f66cbb7c77c44eab53767c77811db50d79.tar.gz splus-3aa3f9f66cbb7c77c44eab53767c77811db50d79.zip | |
Add a quick'n'dirty cron script
| -rwxr-xr-x | cron.sh | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 |
