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

Skip to content

Commit e500b9a

Browse files
committed
Veryfy that we are on matplotlib/matplotlib before trying to upload docs
1 parent 3a10611 commit e500b9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ after_failure:
103103

104104
after_success:
105105
|
106-
if [[ $TRAVIS_PULL_REQUEST == false && $BUILD_DOCS == true && $TRAVIS_BRANCH == 'master' ]]; then
106+
if [[ $TRAVIS_PULL_REQUEST == false && $TRAVIS_REPO_SLUG == 'matplotlib/matplotlib' && $BUILD_DOCS == true && $TRAVIS_BRANCH == 'master' ]]; then
107107
cd $TRAVIS_BUILD_DIR
108108
echo "Uploading documentation"
109109
openssl aes-256-cbc -K $encrypted_cc802e084cd0_key -iv $encrypted_cc802e084cd0_iv -in .travis/matplotlibDeployKey.enc -out .travis/matplotlibDeployKey -d

0 commit comments

Comments
 (0)