Fixes private key perms

This commit is contained in:
Abhay Rana 2015-08-22 21:20:50 +05:30
parent 9eb383711a
commit 87074318ca
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ task :deploy => :environment do
# Don't try to decrypt it locally
if ENV['CI'] === 'true'
queue "openssl aes-256-cbc -K $encrypted_82a37ece568a_key -iv $encrypted_82a37ece568a_iv -in deploy-rsa -out lightsaber-deploy -d"
queue "chmod 600 lightsaber-deploy"
end
end
deploy do