Skip to content

Commit 620bca0

Browse files
fix: update doc_path to use SOURCE_DIRECTORY environment variable (#320)
1 parent 9b28223 commit 620bca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/incremental.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def get_env(name: str) -> str:
8989
base_arguments.append(f"-A=github_user={args.github_user}")
9090
base_arguments.append(f"-A=github_repo={args.github_repo}")
9191
base_arguments.append("-A=github_version=main")
92-
base_arguments.append("-A=doc_path=docs")
92+
base_arguments.append(f"-A=doc_path='{get_env('SOURCE_DIRECTORY')}'")
9393

9494
action = get_env("ACTION")
9595
if action == "live_preview":

0 commit comments

Comments
 (0)