Skip to content

Commit 4ece98f

Browse files
committed
fix build script when we have redirects from the new mod urls
1 parent dd5b127 commit 4ece98f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

_jekyll.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,10 @@ def merge() -> None:
7070
move_redirects()
7171

7272
for config in EXTRA_CONFIGS:
73-
shutil.move(
73+
shutil.copytree(
7474
SITE_DIR / config / f"{config}-mod-db",
7575
SITE_DIR / BASE_CONFIG / f"{config}-mod-db",
76+
dirs_exist_ok=True,
7677
)
7778

7879
shutil.move(SITE_DIR / BASE_CONFIG, MERGED_SITE_DIR)

0 commit comments

Comments
 (0)