Skip to content

Commit f1ad8df

Browse files
committed
ci: Set "deploy" mode when checking docs in CI
1 parent b4e9f08 commit f1ad8df

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

duties.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,8 @@ def check_docs(ctx: Context) -> None:
224224
"""
225225
Path("htmlcov").mkdir(parents=True, exist_ok=True)
226226
Path("htmlcov/index.html").touch(exist_ok=True)
227+
if CI:
228+
os.environ["DEPLOY"] = "true"
227229
with _material_insiders():
228230
ctx.run(
229231
tools.mkdocs.build(strict=True, verbose=True),

0 commit comments

Comments
 (0)