Skip to content

Instantly share code, notes, and snippets.

@newbamboo
Created February 16, 2009 22:30
Show Gist options
  • Save newbamboo/65422 to your computer and use it in GitHub Desktop.
Save newbamboo/65422 to your computer and use it in GitHub Desktop.
set :user, "deploy"
set :deploy_to, "/usr/local/www/nb_blog_jekyll"
set :jekyll_command, "/usr/local/jekyll/bin/jekyll --lsi"
role :web, "blog.new-bamboo.co.uk"
task :deploy do
run "cd #{deploy_to}; git pull; #{jekyll_command}; exit 0"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment