Skip to content

Commit 634bc4e

Browse files
committed
Fetch gh-pages from origin
We need to do this on account of Publisher only grabbing a shallow clone of depth=1
1 parent 113553e commit 634bc4e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ task :publish, [:no_commit_msg] => [:clean, :remove_output_dir] do |t, args|
5353

5454
# save precious files
5555
if ENV['IS_HEROKU']
56+
`git fetch origin gh-pages`
5657
`git checkout origin/gh-pages`
5758
else
5859
`git checkout gh-pages`

0 commit comments

Comments
 (0)