Skip to content

Instantly share code, notes, and snippets.

@kplimack
Created October 3, 2014 15:46
Show Gist options
  • Save kplimack/1eb96075aabb48f852f5 to your computer and use it in GitHub Desktop.
Save kplimack/1eb96075aabb48f852f5 to your computer and use it in GitHub Desktop.
deploy_wrapper "myApp" do
owner "root"
group "root"
ssh_wrapper_dir '/root/.ssh'
ssh_key_dir '/root/.ssh'
ssh_key_data citadel['keys/apps/myApp']
end
git 'myApp' do
repository <repo>
revision <rev>
ssh_wrapper '/root/.ssh/myApp_deploy_wrapper.sh'
action :sync
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment