What a deploy breaks: two builds compared.
Compares the build in production with the new one before it goes live: pages that disappear without a redirect, pages that close, titles changed across a whole URL template, text cut in half, and critical findings the old build did not have. --strict fails the deploy on anything critical; the GitHub Action runs it with old-root.
usage: indexgap diff [-h] [--site SITE] [--home HOME] [--config CONFIG]
[--profile PROFILE] [--out OUT] [--no-checks]
[--dataset DATASET] [--keyword KEYWORD] [--strict]
old new
positional arguments:
old directory of the build that is in production now
new directory of the new build
options:
-h, --help show this help message and exit
--site SITE the full site address; taken from indexgap.json by
default
--home HOME URL of the home page; defaults to --site itself
--config CONFIG path to indexgap.json; looked up next to the new build by
default
--profile PROFILE content type: catalog, events, ugc. Changes thresholds
and which checks run — see `indexgap profiles`; business:
saas, ecommerce, local, media, marketplace, app,
devtools, ymyl — with a page-type check
--out OUT where to write the HTML report; the machine-readable data
goes next to it with a .json extension. A name ending in
.json names the data, and the report goes next to it as
.html
--no-checks do not run the check findings on both builds — compare
pages only
--dataset DATASET keyword dataset (CSV or XLSX) for both builds — then
numbers that are not in the data are compared too
--keyword KEYWORD the keyword column in the dataset
--strict exit non-zero when there are critical findings — for CI