updating CI commit and notification settings

This commit is contained in:
perry 2016-03-15 16:05:05 -05:00
parent f198eabe71
commit 3fe4217f6a

View File

@ -32,13 +32,13 @@ function run {
# if no changes, don't commit
if [[ "$CHANGES" == "" ]]; then
ls
echo "-- No changes detected in docs for $VERSION_NAME; docs not updated."
echo "-- No changes detected for the following commit, docs not updated."
echo "https://github.com/driftyco/$CIRCLE_PROJECT_REPONAME/commit/$CIRCLE_SHA1"
else
git config --global user.email "hi@ionicframework.com"
git config --global user.name "Ionitron"
git add -A
git commit -am "Automated build of platform docs v$VERSION"
git commit -am "Automated build of platform docs $CIRCLE_PROJECT_REPONAME $CIRCLE_SHA1"
git push origin master
echo "-- Updated docs for $VERSION_NAME succesfully!"