Run HTMLProofer with shared cache restore and save steps.
- name: Test site with HTMLProofer
uses: athackst/ci/actions/htmlproofer-cache@main
with:
host: my-org.github.io
base-path: /my-repo
ignore-urls: $
swap-urls: $
| Name | Description | Default |
|---|---|---|
host |
(optional) Site host used for htmlproofer URL swapping. | "" |
base-path |
(optional) Site base path used for htmlproofer URL swapping. | "" |
ignore-urls |
(optional) Newline-delimited URLs or regexes to ignore. | "" |
swap-urls |
(optional) Newline-delimited URL rewrite rules for HTMLProofer. | "" |
tmp/.htmlproofer cache around the HTMLProofer run.