maud/docs/deploy.sh
2019-09-14 19:15:55 +12:00

16 lines
216 B
Bash
Executable file

#!/bin/sh
set -e
nproc=$(nproc || echo 4)
make clean
make -j$nproc
cd site
git init
git add .
git commit -m 'Deploy'
git remote add github git@github.com:lambda-fairy/maud.git
git push -f github master:gh-pages