mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 08:16:53 +00:00
Fix git pull on deploy
This commit is contained in:
parent
def9ae38c4
commit
2e46db93bd
2
Rakefile
2
Rakefile
@ -253,7 +253,7 @@ multitask :push do
|
||||
puts "## Deploying branch to Github Pages "
|
||||
puts "## Pulling any updates from Github Pages "
|
||||
cd "#{deploy_dir}" do
|
||||
Bundler.with_clean_env { system "git pull" }
|
||||
system "git checkout origin gh-pages"
|
||||
end
|
||||
(Dir["#{deploy_dir}/*"]).each { |f| rm_rf(f) }
|
||||
Rake::Task[:copydot].invoke(public_dir, deploy_dir)
|
||||
|
Loading…
x
Reference in New Issue
Block a user