phpDocs auto deployment: Disable for pull requests with a safe environment

Pull requests with a safe environment are primarly local branches
This commit is contained in:
Daniel Rudolf 2015-11-26 01:35:35 +01:00
parent 5af160c31d
commit 6e0b2aab34

View File

@ -15,6 +15,11 @@ if [ "$TRAVIS_SECURE_ENV_VARS" != "true" ]; then
exit exit
fi fi
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
echo "Skipping phpDoc deployment because this pull request (#$TRAVIS_PULL_REQUEST) is not permitted to deploy"
exit
fi
PHPDOC_ID="${TRAVIS_BRANCH//\//_}" PHPDOC_ID="${TRAVIS_BRANCH//\//_}"
generate-phpdoc.sh \ generate-phpdoc.sh \