Skip to content

Instantly share code, notes, and snippets.

@h0lyalg0rithm
Last active September 13, 2015 18:14
Show Gist options
  • Save h0lyalg0rithm/84431cc248454fed8754 to your computer and use it in GitHub Desktop.
Save h0lyalg0rithm/84431cc248454fed8754 to your computer and use it in GitHub Desktop.
Static Deployments with Capistrano
require 'capistrano/setup'
require 'capistrano/deploy'
lock '3.4.0'
role :web, %w{[email protected]}
set :default_stage, "production"
set :application, 'test'
set :repo_url, 'git_repo_url'
set :deploy_to, '/var/www/#{fetch(:application)}'
set :scm, :git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment