diff options
Diffstat (limited to 'bin/deploy')
-rwxr-xr-x | bin/deploy | 12 |
1 files changed, 12 insertions, 0 deletions
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 |