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

Skip to content

Commit 7c25ef3

Browse files
authored
Merge pull request #17694 from QuLogic/devdocs
CI: Only skip devdocs deploy if PR is to this repo.
2 parents 29cc87c + 5b2e63d commit 7c25ef3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.circleci/deploy-docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44

55
if [ "$CIRCLE_PROJECT_USERNAME" != "matplotlib" ] || \
66
[ "$CIRCLE_BRANCH" != "master" ] || \
7-
[ "$CIRCLE_PULL_REQUEST" != "" ]; then
7+
[[ "$CIRCLE_PULL_REQUEST" == https://github.com/matplotlib/matplotlib/pull/* ]]; then
88
echo "Not uploading docs for ${CIRCLE_SHA1}"\
99
"from non-master branch (${CIRCLE_BRANCH})"\
1010
"or pull request (${CIRCLE_PULL_REQUEST})"\

0 commit comments

Comments
 (0)