16 lines
201 B
Bash
Executable file
16 lines
201 B
Bash
Executable file
#!/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
|