maud/docs/deploy.sh

20 lines
247 B
Bash
Raw Normal View History

2019-03-24 14:39:20 +13:00
#!/bin/sh
set -e
nproc=$(nproc || echo 4)
make clean
make -j$nproc
2019-03-24 14:39:20 +13:00
cd site
echo maud.lambda.xyz > CNAME
2019-03-24 14:39:20 +13:00
git init
git add .
git commit -m 'Deploy'
git remote add github git@github.com:lambda-fairy/maud.git
2019-03-24 14:39:20 +13:00
git push -f github master:gh-pages