diff --git a/tests/scripts/task_python_docs.sh b/tests/scripts/task_python_docs.sh index 1eb75be830c3b..a03a7482159c1 100755 --- a/tests/scripts/task_python_docs.sh +++ b/tests/scripts/task_python_docs.sh @@ -39,8 +39,9 @@ rm -rf docs/gen_modules rm -rf docs/doxygen # prepare auto scheduler tutorials -rm -rf tutorials/auto_scheduler/*.json +find tutorials -type f -path "*.json" | xargs rm -f cp -f tutorials/auto_scheduler/ci_logs/*.json tutorials/auto_scheduler +cp -f tutorials/auto_scheduler/ci_logs/*.json tutorials/get_started # remove stale tutorials and always build from scratch. rm -rf docs/tutorials