From ef003a64916ffdd66ac999851a5f72a7e5ada4f4 Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Sun, 24 Feb 2019 12:35:44 -0500 Subject: [PATCH] Move key decryption to before_deploy. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 16283551..f44d42a8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -132,8 +132,6 @@ matrix: - os: osx osx_image: xcode10.1 before_install: - - openssl aes-256-cbc -K $encrypted_38876355cb3e_key -iv $encrypted_38876355cb3e_iv - -in appimage/secret.gpg.enc -out appimage/secret.gpg -d - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then eval "${MATRIX_EVAL}" ; fi - | if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then @@ -229,6 +227,8 @@ cache: - directories: - "$HOME/.sonar/cache" before_deploy: + - openssl aes-256-cbc -K $encrypted_38876355cb3e_key -iv $encrypted_38876355cb3e_iv + -in appimage/secret.gpg.enc -out appimage/secret.gpg -d - "gpg --import appimage/secret.gpg" - "./appimage/build.sh"