Skip to content

Commit fdb1f5d

Browse files
committed
don't rm the docs until the build is successful
1 parent 194458b commit fdb1f5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/update.cgi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ chdir "..";
1818
my $status = system('/bin/bash', '-c', '
1919
source venv/bin/activate &&
2020
poetry install --only docs &&
21-
rm -rf book/python &&
2221
sphinx-build -M html underactuated /tmp/underactuated_doc &&
22+
rm -rf book/python &&
2323
cp -r /tmp/underactuated_doc/html book/python
2424
');
2525

0 commit comments

Comments
 (0)