Skip to content
Snippets Groups Projects
Commit ed0f7b96 authored by squidfunk's avatar squidfunk Committed by Martin Donath
Browse files

Don't deploy documentation on PR

parent 100f6c0e
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,7 @@ yarn run build ...@@ -25,7 +25,7 @@ yarn run build
[ $? -gt 0 ] && exit 1 [ $? -gt 0 ] && exit 1
# Deploy documentation to GitHub pages # 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" REMOTE="https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material"
# Set configuration for repository and deploy documentation # Set configuration for repository and deploy documentation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment