blogv3/deploy.sh
2017-08-16 18:07:02 +08:00

7 lines
230 B
Bash
Executable File

pugo build --theme="theme/pure" --dest="$GOPATH/src/github.com/lunny/lunny.github.io"
cd $GOPATH/src/github.com/lunny/lunny.github.io
git add --all
git commit -m "updated"
git push origin master
notify "blog updated successfully"