aboutsummaryrefslogtreecommitdiff
path: root/deploy
blob: 8ceaa8f921869255df3326bc9e9b58f2840917a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash
set -e

# 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