From e458ffcc93a260e206ea207f810dd3f2cece8fb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Mazzucotelli?= Date: Thu, 13 Jun 2024 18:27:18 +0200 Subject: [PATCH] chore: Disallow override in docs-deploy duty to allow passing -cnone (because of PyTermGUI issue) --- duties.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/duties.py b/duties.py index db8fb9b..d0c3187 100644 --- a/duties.py +++ b/duties.py @@ -125,7 +125,7 @@ def docs_deploy(ctx: Context) -> None: with material_insiders() as insiders: if not insiders: ctx.run(lambda: False, title="Not deploying docs without Material for MkDocs Insiders!") - origin = ctx.run("git config --get remote.origin.url", silent=True) + origin = ctx.run("git config --get remote.origin.url", silent=True, allow_overrides=False) if "pawamoy-insiders/markdown-exec" in origin: ctx.run("git remote add upstream git@github.com:pawamoy/markdown-exec", silent=True, nofail=True) ctx.run(