Skip to content

Commit 02d8c45

Browse files
add py-docs pull to rakefile
1 parent 77a6eb8 commit 02d8c45

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Rakefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ task :deploy => [:check_git] do
1818

1919
puts "...git pull origin \"#{source_branch}\""
2020
system "git pull origin \"#{source_branch}\""
21+
puts "...getting latest python docs"
22+
system "rm -rf _posts/python-next/html"
23+
system "git clone -b built git@github.com:plotly/plotly.py-docs _posts/python-next/html"
2124
puts "...update plot schema"
2225
system "python ./get_plotschema.py && git add _data/plotschema.json && git commit -m \"Updated plotschema at #{Time.now.utc}\" && git push origin \"#{source_branch}\""
2326
puts "...generate _site"

0 commit comments

Comments
 (0)