8000 Skip deployment if not on Matplotlib org. · matplotlib/matplotlib@0c44435 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0c44435

Browse files
committed
Skip deployment if not on Matplotlib org.
1 parent 7e97a37 commit 0c44435

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)
0