diff --git a/scripts/docs/update_docs.sh b/scripts/docs/update_docs.sh index f89c158e3..7324aebca 100755 --- a/scripts/docs/update_docs.sh +++ b/scripts/docs/update_docs.sh @@ -31,11 +31,11 @@ function run { if [ $CHANGED -eq 0 ]; then echo "-- No changes detected for the following commit, docs not updated." - echo "https://github.com/ionic-team/$CIRCLE_PROJECT_REPONAME/commit/$CIRCLE_SHA1" + echo "https://github.com/ionic-team/$GITHUB_PROJECT_REPONAME/commit/$GITHUB_SHA1" else git config --global user.email "hi@ionicframework.com" git config --global user.name "Ionitron" - git commit -am "Automated build of native docs ionic-team/$CIRCLE_PROJECT_REPONAME@$CIRCLE_SHA1" + git commit -am "Automated build of native docs ionic-team/$GITHUB_PROJECT_REPONAME@$GITHUB_SHA1" # in case a different commit was pushed to ionic-site during doc/demo gen, # try to rebase around it before pushing git fetch