CI: fail when docs fail to build

This commit is contained in:
Maximilian Hils 2021-02-13 12:26:44 +01:00
parent 748fc93699
commit d2c9efc98f

View File

@ -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)