1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

Updated the CI config.

This commit is contained in:
Cotes Chung
2020-01-21 00:32:20 +08:00
parent 1f8b81965d
commit 47a32fcce3
3 changed files with 35 additions and 28 deletions

22
tools/test.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
#
# Using HTML-proofer to test site.
#
# Requirement: https://github.com/gjtorikian/html-proofer
#
# Usage: bash /path/to/test.sh
#
# v2.0
# https://github.com/cotes2020/jekyll-theme-chirpy
# © 2020 Cotes Chung
# MIT Licensed
DEST=_site
URL_IGNORE=cdn.jsdelivr.net
bundle exec htmlproofer $DEST \
--disable-external \
--check-html \
--empty_alt_ignore \
--allow_hash_href \
--url_ignore $URL_IGNORE