Skip to content

Commit

Permalink
don't rm the docs until the build is successful
Browse files Browse the repository at this point in the history
  • Loading branch information
RussTedrake committed Jan 24, 2025
1 parent 194458b commit fdb1f5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/update.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ chdir "..";
my $status = system('/bin/bash', '-c', '
source venv/bin/activate &&
poetry install --only docs &&
rm -rf book/python &&
sphinx-build -M html underactuated /tmp/underactuated_doc &&
rm -rf book/python &&
cp -r /tmp/underactuated_doc/html book/python
');

Expand Down

0 comments on commit fdb1f5d

Please sign in to comment.