Skip to content

Commit

Permalink
rake again
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaskruchten committed Jul 31, 2019
1 parent 9fe87a2 commit 3e865c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ task :deploy => [:check_git] do
system "rm -rf _posts/python/html" or exit!(1)
system "git clone -b built [email protected]:plotly/plotly.py-docs _posts/python/html" or exit!(1)
puts "...update plot schema"
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)
system "python ./get_plotschema.py" or exit!(1)
system "git add _data/plotschema.json && git commit -m \"Updated plotschema at #{Time.now.utc}\" && git push origin \"#{source_branch}\""
puts "...generate _site"
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)
puts "...git checkout \"#{source_branch}\""
Expand Down

0 comments on commit 3e865c3

Please sign in to comment.