chore(CI): attempt to rebase around other commits made during doc/demo gen

This commit is contained in:
perry
2016-05-05 14:43:07 -05:00
parent d50576b720
commit 6331ec4b26

View File

@ -44,6 +44,11 @@ function run {
else
git add -A
git commit -am "Automated build of ionic v$VERSION driftyco/$CIRCLE_PROJECT_REPONAME@$CIRCLE_SHA1"
# in case a different commit was pushed to ionic-site during doc/demo gen,
# try to rebase around it before pushing
git fetch
git rebase
git push origin master
echo "-- Updated docs for $VERSION_NAME succesfully!"