From 98c5996ed33764c90385e40f921f0e54dd797972 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Fri, 11 Dec 2009 08:43:56 -0800 Subject: [PATCH] publish html, too --- Rakefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 7f4b11a3..070bf137 100644 --- a/Rakefile +++ b/Rakefile @@ -88,10 +88,13 @@ task :publish => [ :test, :gemspec, :build ] do end desc "Publish to GitHub Pages" -task :pages => [ :check_dirty, :standalone ] do +task :pages => [ :build_man, :check_dirty, :standalone ] do + cp "man/hub.1.html html" `git checkout gh-pages` `mv hub standalone` `git add standalone*` + `mv html hub.1.html` + `git add hub.1.html` `git commit -m "update standalone"` `git push origin gh-pages` `git checkout master` -- GitLab