1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Don't attempt to deploy phar from forked repos (#1720)

Only vimeo/psalm should be deploying
This commit is contained in:
Barney Laurance 2019-06-01 14:32:12 +01:00 committed by Matthew Brown
parent e0486ba757
commit 7ec9818192

View File

@ -84,7 +84,7 @@ jobs:
env: DEPS="high"
script:
- bin/build-phar.sh
- if [[ "$TRAVIS_PULL_REQUEST" = 'false' ]]; then bin/travis-deploy-phar.sh; fi
- if [[ "$TRAVIS_REPO_SLUG" = 'vimeo/psalm' && "$TRAVIS_PULL_REQUEST" = 'false' ]]; then bin/travis-deploy-phar.sh; fi
before_deploy:
- echo $GPG_ENCRYPTION | gpg --passphrase-fd 0 keys.asc.gpg
- gpg --batch --yes --import keys.asc