mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-10 00:12:09 +00:00
Avoid overwriting htmltest cache
This commit is contained in:
parent
7bd9784653
commit
4cb2f44afc
1 changed files with 4 additions and 2 deletions
6
Makefile
6
Makefile
|
@ -56,11 +56,13 @@ validate-html:
|
|||
htmlproofer:
|
||||
htmlproofer $(OUTPUT_DIR) --disable-external --report-invalid-tags --report-missing-names --report-missing-doctype --report-eof-tags --report-mismatched-tags --check-html --check-opengraph --check-favicon --empty-alt-ignore --file-ignore $(OUTPUT_DIR)/search/index.html --url-ignore '../music.txt'
|
||||
|
||||
linter-configs/htmltest.yml:
|
||||
rsync $(RSYNCFLAGS) deploy@seirdy.one:/home/deploy/refcache.json linter-configs/htmltest/refcache.json
|
||||
|
||||
# basic checks for generated HTML and broken links. Persist the broken
|
||||
# link cache remotely so we can run this in CI.
|
||||
.PHONY: htmltest
|
||||
htmltest:
|
||||
rsync $(RSYNCFLAGS) deploy@seirdy.one:/home/deploy/refcache.json linter-configs/htmltest/refcache.json
|
||||
htmltest: linter-configs/htmltest.yml
|
||||
htmltest -c linter-configs/htmltest.yml $(OUTPUT_DIR)
|
||||
rsync $(RSYNCFLAGS) linter-configs/htmltest/refcache.json deploy@seirdy.one:/home/deploy/refcache.json
|
||||
|
||||
|
|
Loading…
Reference in a new issue