Skip to content

Instantly share code, notes, and snippets.

@sebastien-bartoli
Created April 10, 2015 08:40
Show Gist options
  • Save sebastien-bartoli/d73d5c789663d7b8b610 to your computer and use it in GitHub Desktop.
Save sebastien-bartoli/d73d5c789663d7b8b610 to your computer and use it in GitHub Desktop.
lock '3.4.0'
set :application, 'mesdocuments.sgdf.fr'
set :repo_url, '[email protected]:sgdf/mesdocuments-sgdf-fr.git'
set :scm, :git
set :ssh_options, {:forward_agent => true}
set :tmp_dir, '/space/home/www-synchro/tmp'
set :keep_releases, 5
set :stage, :staging
set :branch, :master
set :deploy_via, :remote_cache
set :deploy_to, "/space/www/mesdocuments-deploy.sgdf.fr/data/htdocs"
server "146.185.40.1",
user: "www-synchro",
roles: [:web, :app, :db],
ssh_options: {
user: "www-synchro",
keys: %w(/vagrant/oxalide-www-synchro.pub),
auth_methods: %w(publickey password)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment