Fix deploy.sh III

This commit is contained in:
mcarton 2016-07-19 22:48:52 +02:00
parent e8c54edfe1
commit 1155925305
1 changed files with 3 additions and 3 deletions

6
.github/deploy.sh vendored
View File

@ -44,10 +44,10 @@ ENCRYPTED_KEY_VAR="encrypted_${ENCRYPTION_LABEL}_key"
ENCRYPTED_IV_VAR="encrypted_${ENCRYPTION_LABEL}_iv"
ENCRYPTED_KEY=${!ENCRYPTED_KEY_VAR}
ENCRYPTED_IV=${!ENCRYPTED_IV_VAR}
openssl aes-256-cbc -K "$ENCRYPTED_KEY" -iv "$ENCRYPTED_IV" -in github/deploy_key.enc -out github/deploy_key -d
chmod 600 github/deploy_key
openssl aes-256-cbc -K "$ENCRYPTED_KEY" -iv "$ENCRYPTED_IV" -in .github/deploy_key.enc -out .github/deploy_key -d
chmod 600 .github/deploy_key
eval $(ssh-agent -s)
ssh-add github/deploy_key
ssh-add .github/deploy_key
# Now let's go have some fun with the cloned repo
cd out