Skip to content

Commit 9b3ad5b

Browse files
committed
tc
1 parent a71f793 commit 9b3ad5b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.jenkins/sphinx_files.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def main() -> None:
3131
os.makedirs(os.path.dirname(f"/tmp/docs_to_zip/{relative_path}"), exist_ok=True)
3232
shutil.copy(file, f"/tmp/docs_to_zip/{relative_path}")
3333
subprocess.check_output(["git", "reset", "--hard", "HEAD"])
34+
subprocess.check_output(["git", "clean", "-f", "-d"])
3435
for file in glob.glob("/tmp/docs_to_zip/**/*", recursive=True):
3536
print(file)
3637
shutil.rmtree("_build")

0 commit comments

Comments
 (0)