aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2014-12-07 02:11:04 +0000
committerArtur Malabarba <bruce.connor.am@gmail.com>2014-12-07 02:11:04 +0000
commitd781d2faa4e7216cd4fd25922a60727a0cdc361b (patch)
treece447962d3089bc2891808400ea1eef57af76c85
parent5caf423fde43faefdfcc4d96fe11e1441d522553 (diff)
Create the script that runs the bot
-rwxr-xr-xsx-bot.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/sx-bot.sh b/sx-bot.sh
new file mode 100755
index 0000000..176e454
--- /dev/null
+++ b/sx-bot.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/bash
+
+git branch gh-pages &&
+ git pull &&
+ emacs -Q --batch -L "./" -l sx-bot -f sx-bot-fetch-and-write-tags &&
+ git commit . &&
+ git push &&
+ echo SUCCESS