From 6d940fb779d11ad1df5257012374552ec49c2c40 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sun, 17 Jul 2016 01:28:39 +0800 Subject: [PATCH] update publish script --- scripts/publish_dailybuild.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/publish_dailybuild.sh b/scripts/publish_dailybuild.sh index a4d58b3..829bbed 100644 --- a/scripts/publish_dailybuild.sh +++ b/scripts/publish_dailybuild.sh @@ -9,7 +9,8 @@ if [ $CI == "true" ] && [ $CIRCLE_BRANCH == "master" ]; then rm -rf views; rm -f index.html; cp $CIRCLE_ARTIFACTS/dist/* ./ -r; - git config --global user.name "CI"; + git config --global user.name "CircleCI"; + git add -A; git commit -a -m "daily build #$CIRCLE_SHA1"; git push origin gh-pages; fi \ No newline at end of file