CI: fail when docs fail to build
This commit is contained in:
parent
748fc93699
commit
d2c9efc98f
|
@ -14,4 +14,4 @@ for script in (here / "scripts").glob("*.py"):
|
|||
|
||||
if (here / "public").exists():
|
||||
shutil.rmtree(here / "public")
|
||||
subprocess.run(["hugo"], cwd=here / "src")
|
||||
subprocess.run(["hugo"], cwd=here / "src", check=True)
|
||||
|
|
Loading…
Reference in New Issue