mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 00:12:53 +08:00
chore(docs): use GitHub variables
This commit is contained in:
parent
aa535844b0
commit
030a78fc1b
@ -31,11 +31,11 @@ function run {
|
|||||||
if [ $CHANGED -eq 0 ];
|
if [ $CHANGED -eq 0 ];
|
||||||
then
|
then
|
||||||
echo "-- No changes detected for the following commit, docs not updated."
|
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
|
else
|
||||||
git config --global user.email "hi@ionicframework.com"
|
git config --global user.email "hi@ionicframework.com"
|
||||||
git config --global user.name "Ionitron"
|
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,
|
# in case a different commit was pushed to ionic-site during doc/demo gen,
|
||||||
# try to rebase around it before pushing
|
# try to rebase around it before pushing
|
||||||
git fetch
|
git fetch
|
||||||
|
Loading…
Reference in New Issue
Block a user