update publish script
This commit is contained in:
parent
5429f160a2
commit
e441549aaa
|
@ -9,6 +9,7 @@ if [ $CI == "true" ] && [ $CIRCLE_BRANCH == "master" ]; then
|
||||||
rm -rf views;
|
rm -rf views;
|
||||||
rm -f index.html;
|
rm -f index.html;
|
||||||
cp $CIRCLE_ARTIFACTS/dist/* ./ -r;
|
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;
|
git push origin gh-pages;
|
||||||
fi
|
fi
|
Reference in a new issue