aboutsummaryrefslogtreecommitdiff
path: root/bin/deploy
blob: a4e72bd2ae7c5b49ea25532aa51d44ae1595f832 (plain)
1
2
3
4
5
6
7
8
9
10
11
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