summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid T. Sadler <davidtsadler@googlemail.com>2021-02-16 17:18:34 +0000
committerDavid T. Sadler <davidtsadler@googlemail.com>2021-02-16 17:18:34 +0000
commitd75aa6dc96df9ae025164c5213cd6105e9b5d2a7 (patch)
treefeede7eccc599bb53641bf91044e363569de2034
parentf8a735b86e9bd45ba9079d30d5ff59b069e21d52 (diff)
Add gembubble script
-rwxr-xr-x.local/bin/gembubble13
1 files changed, 13 insertions, 0 deletions
diff --git a/.local/bin/gembubble b/.local/bin/gembubble
new file mode 100755
index 0000000..c969551
--- /dev/null
+++ b/.local/bin/gembubble
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+[ -z "$1" ] && exit
+
+REPO="/home/david/projects/davidtsadler.co.uk"
+GITGEM="git --git-dir=$REPO/.git --work-tree=$REPO"
+
+$REPO/scripts/thought-bubble $@ &&
+$REPO/scripts/deploy
+# Not sure if I want to push up to GitHub every time there is a thought bubble so do it manually for the moment.
+# $GITGEM add public/thought_bubbles.gmi &&
+# $GITGEM commit -m "Thought Bubble" &&
+# $GITGEM push