travis: also export ssh key for api triggered rebuilds
This commit is contained in:
parent
00124ab1c8
commit
9af9706268
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
set -eux -o pipefail # Exit with nonzero exit code if anything fails
|
||||
|
||||
if [[ "$TRAVIS_EVENT_TYPE" == "cron" ]]; then
|
||||
if [[ "$TRAVIS_EVENT_TYPE" != "cron" ]] && [[ "$TRAVIS_EVENT_TYPE" != "api" ]]; then
|
||||
openssl aes-256-cbc -K $encrypted_025d6e877aa4_key -iv $encrypted_025d6e877aa4_iv -in ci/deploy_key.enc -out deploy_key -d
|
||||
chmod 600 deploy_key
|
||||
eval "$(ssh-agent -s)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue