Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 969fec81b3
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (17 sloc) 0.367 kb
task :default => :server
desc 'Build site with Jekyll'
task :build do
jekyll
end
desc 'Build and start server with --auto'
task :server do
jekyll '--server --auto'
end
desc 'Build and deploy'
task :deploy => :build do
sh 'rsync -rtzh --delete _site/ walkah.net:/var/www/walkah.net/'
end
def jekyll(opts = '')
sh 'rm -rf _site'
sh 'jekyll ' + opts
end
Jump to Line
Something went wrong with that request. Please try again.