Add publish script
This commit is contained in:
parent
327480c442
commit
a16b26a64e
1 changed files with 16 additions and 0 deletions
16
docs/deploy.sh
Executable file
16
docs/deploy.sh
Executable file
|
@ -0,0 +1,16 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
nproc=$(nproc || echo 4)
|
||||||
|
|
||||||
|
make clean
|
||||||
|
make
|
||||||
|
|
||||||
|
cd site
|
||||||
|
git init
|
||||||
|
git add .
|
||||||
|
git commit -m 'Deploy'
|
||||||
|
|
||||||
|
git remote add github git@github.com:lfairy/maud.git
|
||||||
|
git push -f github master:gh-pages
|
Loading…
Add table
Reference in a new issue