Skip to content

Fail a build when the website breaks

Terminal window
damdit-cli ci audit https://staging.example.com \
--baseline previous.dpk --out current.dpk \
--fail-on new,reappeared

The step exits with 9 when an issue is new or came back, and with 0 otherwise. Keep current.dpk (a cache or an artifact) and pass it as --baseline next time. On the first run leave out --baseline and --fail-on.

The runner needs Docker and your key as the secret DAMDIT_CI_KEY.

Copy the workflow and damdit.yml. Every option and exit code: Pipelines.