aboutsummaryrefslogtreecommitdiff
path: root/deploy
blob: 6abf9b04cf2f6eaf27daded120e7275b3588c621 (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/main.js
git commit -m "Deploy pages"
git push --force origin pages
git checkout master
git branch -D pages