From 87e288cd01fbd04675a562bca582f7c2e591c010 Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 1 Nov 2020 13:42:56 +0100 Subject: Improve a bit --- bin/deploy | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 bin/deploy (limited to 'bin/deploy') diff --git a/bin/deploy b/bin/deploy new file mode 100755 index 0000000..a4e72bd --- /dev/null +++ b/bin/deploy @@ -0,0 +1,12 @@ +#!/usr/bin/env bash +set -euo pipefail + +# Build +git branch -D pages || true +git checkout -b pages +make clean build +git add --force public/client.js +git commit -m "Deploy pages" +git push --force origin pages +git checkout master +git branch -D pages -- cgit v1.2.3