Permalink
Browse files

Clear out all files in gh-pages branch when building.

  • Loading branch information...
xiongchiamiov committed Feb 6, 2013
1 parent 7f9036f commit 88506267c5a7389e29d86395f328067cbac8117a
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
View
@@ -19,9 +19,9 @@ task :pages => :man do
git clone -q -b gh-pages . pages
cd pages
git reset --hard $rev
- rm -f *.html
+ rm -f *
cp -rp ../man/*.html ../man/index.txt ./
- git add -A *.html index.txt
+ git add -A .
git commit -m 'Rebuild manual.'
git push #{push_url} gh-pages
cd ..

0 comments on commit 8850626

Please sign in to comment.