# site/build

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

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

Part of the [`site`](/reference/configurations/site/) configuration, at the `recommended` [level](/start/concepts/#levels). It runs at the `push` [stage](/start/concepts/#stage), once per scope. gspot runs this check itself. It needs a build of the project.

## Why

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

## What to do

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

## Example

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

## Turn it off

Turn it off for some files, with a reason:

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