Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ebbbcd5

Browse files
atian25fengmk2
authored andcommitted
chore: skip docs deploy at ci cron (eggjs#1268)
1 parent c6e1fdc commit ebbbcd5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/doc_travis.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
SOURCE_BRANCH="master"
77

88
# Pull requests and commits to other branches shouldn't try to deploy, just build to verify
9-
if [ "$TRAVIS_PULL_REQUEST" != "false" -o "$TRAVIS_BRANCH" != "$SOURCE_BRANCH" ]; then
9+
if [ "$TRAVIS_PULL_REQUEST" != "false" -o "$TRAVIS_BRANCH" != "$SOURCE_BRANCH" -o "$TRAVIS_EVENT_TYPE" = "cron" ]; then
1010
echo "Skip deploy, TRAVIS_PULL_REQUEST=$TRAVIS_PULL_REQUEST, TRAVIS_BRANCH=$TRAVIS_BRANCH"
1111
exit 0
1212
fi

0 commit comments

Comments
 (0)