Fail a build when the website breaks
damdit-cli ci audit https://staging.example.com \ --baseline previous.dpk --out current.dpk \ --fail-on new,reappearedThe 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.
GitHub Actions
Section titled “GitHub Actions”Copy the workflow and damdit.yml. Every option and exit code: Pipelines.