Skip to content

site/build

Runs site.build_command, and fails on an error or a missing output folder.

Part of the site configuration, at the recommended level. It runs at the push stage, once per scope. gspot runs this check itself. It needs a build of the project.

Other site checks read the built files, so a failed build hides their findings.

Run the build command by hand and fix what it prints. Name the command under site.build_command.

A build that imports a missing template fails the check. Fix the import, or restore that file.

Turn it off for some files, with a reason:

gspot ignore site/build --paths "<glob>" --reason "<why>"