Skip to content

Commit e12ebce

Browse files
committed
path issue
1 parent cc9efdd commit e12ebce

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/sync_example.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33

44
# Go up 2 levels from .github/workflows/ to get repo root
55
root = pathlib.Path(__file__).resolve().parent.parent.parent
6-
docs_nb = root / "docs" / "examples" / "jupyter_notebooks"
6+
# Destination inside mkdocs docs dir for examples
7+
docs_nb = root / "docs" / "examples"
78
(docs_nb / "grid_models").mkdir(parents=True, exist_ok=True)
89

910
# notebooks
@@ -21,4 +22,4 @@
2122
db_src = root / "examples" / "WECGrid.db"
2223
if db_src.exists():
2324
(root / "docs" / "examples").mkdir(parents=True, exist_ok=True)
24-
shutil.copy2(db_src, root / "docs" / "examples" / "WECGrid.db")
25+
shutil.copy2(db_src, root / "docs" / "examples" / "WECGrid.db")

0 commit comments

Comments
 (0)