add deploy script
This commit is contained in:
parent
799a3a8a8d
commit
7c6bffb832
1 changed files with 10 additions and 0 deletions
10
deploy.sh
Executable file
10
deploy.sh
Executable file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
SRC_ROOTDIR="$HOME/src/fef.moe"
|
||||||
|
WEB_ROOTDIR="$HOME/pub/webroot"
|
||||||
|
|
||||||
|
cd "$SRC_ROOTDIR"
|
||||||
|
jekyll build
|
||||||
|
rm -rf "$WEB_ROOTDIR"
|
||||||
|
cp -r _site "$WEB_ROOTDIR"
|
||||||
|
gzip -9kr "$WEB_ROOTDIR"
|
Loading…
Reference in a new issue