Skip to content

Commit 3e865c3

Browse files
rake again
1 parent 9fe87a2 commit 3e865c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Rakefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ task :deploy => [:check_git] do
2222
system "rm -rf _posts/python/html" or exit!(1)
2323
system "git clone -b built git@github.com:plotly/plotly.py-docs _posts/python/html" or exit!(1)
2424
puts "...update plot schema"
25-
system "python ./get_plotschema.py && git add _data/plotschema.json && git commit -m \"Updated plotschema at #{Time.now.utc}\" && git push origin \"#{source_branch}\"" or exit!(1)
25+
system "python ./get_plotschema.py" or exit!(1)
26+
system "git add _data/plotschema.json && git commit -m \"Updated plotschema at #{Time.now.utc}\" && git push origin \"#{source_branch}\""
2627
puts "...generate _site"
2728
system "jekyll build --verbose && git checkout \"#{deploy_branch}\" && git pull origin \"#{deploy_branch}\" && cp -r _site/* . && rm -rf _site/ && touch .nojekyll && git add . && git commit -m \"#{message}\" && git push origin \"#{deploy_branch}\"" or exit!(1)
2829
puts "...git checkout \"#{source_branch}\""

0 commit comments

Comments
 (0)