update publish script

This commit is contained in:
MaysWind 2016-07-16 22:41:33 +08:00
parent 5429f160a2
commit e441549aaa

View file

@ -9,6 +9,7 @@ if [ $CI == "true" ] && [ $CIRCLE_BRANCH == "master" ]; then
rm -rf views;
rm -f index.html;
cp $CIRCLE_ARTIFACTS/dist/* ./ -r;
git commit -a -m "daily build #$CIRCLE_SHA1" --author="CI <i@mayswind.net>";
git config --global user.name "CI";
git commit -a -m "daily build #$CIRCLE_SHA1";
git push origin gh-pages;
fi