mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-07-02 18:11:36 +00:00
Update travis
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ install:
|
||||
- npm install
|
||||
|
||||
script:
|
||||
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; .travis/update-wiki.sh; fi
|
||||
- .travis/update-wiki.sh
|
||||
|
||||
env:
|
||||
global:
|
||||
|
||||
@@ -13,5 +13,11 @@ update_wiki() {
|
||||
git push origin
|
||||
}
|
||||
|
||||
setup_git
|
||||
update_wiki
|
||||
# Only update wiki if on master branch and not pull request
|
||||
if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]
|
||||
then
|
||||
setup_git
|
||||
update_wiki
|
||||
else
|
||||
echo "Not updating wiki, triggered by pull request or not on master branch"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user