Skip to content

Commit 200a79a

Browse files
committed
.gitignore should also copy over to gh-pages
1 parent bf8429c commit 200a79a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ task :publish, [:no_commit_msg] => [:remove_tmp_dir, :remove_output_dir, :compil
5656

5757
Dir.mktmpdir do |tmp|
5858
system "mv output/* #{tmp}"
59+
system "cp .gitignore #{tmp}"
5960
system 'git checkout gh-pages'
6061
system "rsync -av #{tmp}/ ."
6162
system 'git add .'

0 commit comments

Comments
 (0)