mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 22:06:50 +00:00
Update deploy branch
This commit is contained in:
parent
6adddf4a55
commit
5e6b7fd977
4
Rakefile
4
Rakefile
@ -12,7 +12,7 @@ rsync_args = "" # Any extra arguments to pass to rsync
|
|||||||
deploy_default = "push"
|
deploy_default = "push"
|
||||||
|
|
||||||
# This will be configured for you when you run config_deploy
|
# This will be configured for you when you run config_deploy
|
||||||
deploy_branch = "gh-pages"
|
deploy_branch = "master"
|
||||||
|
|
||||||
## -- Misc Configs -- ##
|
## -- Misc Configs -- ##
|
||||||
|
|
||||||
@ -254,7 +254,7 @@ multitask :push do
|
|||||||
puts "## Deploying branch to Github Pages "
|
puts "## Deploying branch to Github Pages "
|
||||||
puts "## Pulling any updates from Github Pages "
|
puts "## Pulling any updates from Github Pages "
|
||||||
cd "#{deploy_dir}" do
|
cd "#{deploy_dir}" do
|
||||||
system "git checkout gh-pages"
|
system "git checkout #{deploy_branch}"
|
||||||
end
|
end
|
||||||
(Dir["#{deploy_dir}/*"]).each { |f| rm_rf(f) }
|
(Dir["#{deploy_dir}/*"]).each { |f| rm_rf(f) }
|
||||||
Rake::Task[:copydot].invoke(public_dir, deploy_dir)
|
Rake::Task[:copydot].invoke(public_dir, deploy_dir)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user