mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Don't deploy documentation on PR
This commit is contained in:
parent
100f6c0e3b
commit
ed0f7b96fe
@ -25,7 +25,7 @@ yarn run build
|
||||
[ $? -gt 0 ] && exit 1
|
||||
|
||||
# Deploy documentation to GitHub pages
|
||||
if [[ "$TRAVIS_BRANCH" == "master" ]]; then
|
||||
if [ "$TRAVIS_BRANCH" == "master" -a "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
||||
REMOTE="https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material"
|
||||
|
||||
# Set configuration for repository and deploy documentation
|
||||
|
Loading…
Reference in New Issue
Block a user