mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-10 00:12:09 +00:00
Fix htmltest refcache syncing
This commit is contained in:
parent
ab4b9acf0a
commit
2397a90055
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -73,13 +73,13 @@ validate-html:
|
||||||
htmlproofer:
|
htmlproofer:
|
||||||
htmlproofer $(OUTPUT_DIR) --disable-external --checks Images,Scripts,Favicon,OpenGraph --ignore-files $(OUTPUT_DIR)/search/index.html --ignore-urls '../music.txt'
|
htmlproofer $(OUTPUT_DIR) --disable-external --checks Images,Scripts,Favicon,OpenGraph --ignore-files $(OUTPUT_DIR)/search/index.html --ignore-urls '../music.txt'
|
||||||
|
|
||||||
linter-configs/htmltest.yml:
|
linter-configs/htmltest/refcache.json:
|
||||||
rsync $(RSYNCFLAGS) $(RSYNCFLAGS_EXTRA) deploy@seirdy.one:/home/deploy/refcache.json linter-configs/htmltest/refcache.json
|
rsync $(RSYNCFLAGS) $(RSYNCFLAGS_EXTRA) deploy@seirdy.one:/home/deploy/refcache.json linter-configs/htmltest/refcache.json
|
||||||
|
|
||||||
# basic checks for generated HTML and broken links. Persist the broken
|
# basic checks for generated HTML and broken links. Persist the broken
|
||||||
# link cache remotely so we can run this in CI.
|
# link cache remotely so we can run this in CI.
|
||||||
.PHONY: htmltest
|
.PHONY: htmltest
|
||||||
htmltest: linter-configs/htmltest.yml
|
htmltest: linter-configs/htmltest/refcache.json
|
||||||
htmltest -c linter-configs/htmltest.yml $(OUTPUT_DIR)
|
htmltest -c linter-configs/htmltest.yml $(OUTPUT_DIR)
|
||||||
rsync $(RSYNCFLAGS) $(RSYNCFLAGS_EXTRA) linter-configs/htmltest/refcache.json deploy@seirdy.one:/home/deploy/refcache.json
|
rsync $(RSYNCFLAGS) $(RSYNCFLAGS_EXTRA) linter-configs/htmltest/refcache.json deploy@seirdy.one:/home/deploy/refcache.json
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue