Fix deploy.sh III
This commit is contained in:
parent
e8c54edfe1
commit
1155925305
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue