Skip to content

Commit 45ccf42

Browse files
authored
Do not run openssl if TRAVIS_PULL_REQUEST is set
1 parent 36fc507 commit 45ccf42

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,4 @@ before_cache:
2323
after_success:
2424
- "./.travis-deploy-doc.sh"
2525
before_script:
26-
- openssl aes-256-cbc -K $encrypted_2f33c728c8dc_key -iv $encrypted_2f33c728c8dc_iv
27-
-in .travis_ci_gh_pages_deploy_key.enc -out .travis_ci_gh_pages_deploy_key -d
26+
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then openssl aes-256-cbc -K $encrypted_2f33c728c8dc_key -iv $encrypted_2f33c728c8dc_iv -in .travis_ci_gh_pages_deploy_key.enc -out .travis_ci_gh_pages_deploy_key -d; fi'

0 commit comments

Comments
 (0)