Fix Travis from PR

This commit is contained in:
thestr4ng3r-ci 2019-11-02 14:22:22 +01:00 committed by Florian Märkl
commit 443403f54b
No known key found for this signature in database
GPG key ID: 125BC8A5A6A1E857

View file

@ -141,8 +141,7 @@ matrix:
- tar -czvf "$DEPLOY_FILE" chiaki
before_install:
- openssl aes-256-cbc -K $encrypted_31d5e6477a29_key -iv $encrypted_31d5e6477a29_iv -in secret.tar.enc -out secret.tar -d
- tar -xf secret.tar
- if [ ! -z "$encrypted_31d5e6477a29_iv" ]; then openssl aes-256-cbc -K $encrypted_31d5e6477a29_key -iv $encrypted_31d5e6477a29_iv -in secret.tar.enc -out secret.tar -d && tar -xf secret.tar; fi
after_success:
- if [ ! -z "$DEPLOY_FILE" ]; then curl -m 300 --upload-file "$DEPLOY_FILE" "https://transfer.sh/$DEPLOY_FILE"; echo; fi