Add encryption label to deploy.sh

Aka. “Fix deploy.sh IV”
This commit is contained in:
mcarton 2016-07-19 23:00:36 +02:00
parent 1155925305
commit 8587bbe922

1
.github/deploy.sh vendored
View File

@ -40,6 +40,7 @@ if [ "$TRAVIS_PULL_REQUEST" != "false" ] || [ "$TRAVIS_BRANCH" != "$SOURCE_BRANC
fi
# Get the deploy key by using Travis's stored variables to decrypt deploy_key.enc
ENCRYPTION_LABEL=e3a2d77100be
ENCRYPTED_KEY_VAR="encrypted_${ENCRYPTION_LABEL}_key"
ENCRYPTED_IV_VAR="encrypted_${ENCRYPTION_LABEL}_iv"
ENCRYPTED_KEY=${!ENCRYPTED_KEY_VAR}