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

Skip to content

Commit 1203c93

Browse files
committed
Skip deployment if not on Matplotlib org.
1 parent 5e891f0 commit 1203c93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.circleci/deploy-docs.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
set -e
44

5-
if [ "$CIRCLE_BRANCH" != "master" -o "$CIRCLE_PULL_REQUEST" != "" ]; then
6-
echo "Not uploading docs from non-master branch."
5+
if [ "$CIRCLE_PROJECT_USERNAME" != "matplotlib" -o "$CIRCLE_BRANCH" != "master" -o "$CIRCLE_PULL_REQUEST" != "" ]; then
6+
echo "Not uploading docs from non-master branch or non-Matplotlib org."
77
exit
88
fi
99

0 commit comments

Comments
 (0)