Skip to content

Commit

Permalink
when pushing to ghpages delete downloads dir
Browse files Browse the repository at this point in the history
  • Loading branch information
egladman committed Jan 24, 2016
1 parent 571b958 commit 761d255
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Rakefile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
Dir.mktmpdir do |tmp|
cp_r '_site/.', tmp
Dir.chdir tmp
system 'rm -rf downloads'
system 'git init'
system "git add . && git commit -m 'Site updated at #{Time.now.utc}'"
system "git remote add origin #{origin}"
Expand Down

0 comments on commit 761d255

Please sign in to comment.