Update pull command
This commit is contained in:
parent
2e46db93bd
commit
26aa6b4150
1 changed files with 1 additions and 1 deletions
2
Rakefile
2
Rakefile
|
@ -253,7 +253,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 origin gh-pages"
|
system "git checkout gh-pages"
|
||||||
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…
Add table
Add a link
Reference in a new issue