Skip to content

Instantly share code, notes, and snippets.

@PanMan
PanMan / deploy.rb
Created October 31, 2012 16:41
cap recipe for deploying non rails sites to Media Temple grid servers -Fixed!
# Fork as symlink is changed to create_symlink - took a bit to find out
# After running cap deploy:cold, You'll need to remove all files from the
# domains/yourdomain.com/html directory and turn the html directory into a
# symlink that links to ./current which is also a symlink setup by capistrano.
#
# Configure these
set :site, "12345" # this is your site number, for example if your access domain is s12345.gridserver.com
set :application, "example.com" # typically the same as the domain