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

Improve the CD workflow and enhance the related tools.

This commit is contained in:
Cotes Chung
2020-09-17 01:28:44 +08:00
parent 643c8177be
commit d0d1e02763
3 changed files with 39 additions and 75 deletions

View File

@@ -4,7 +4,7 @@
#
# Requirement: https://github.com/gjtorikian/html-proofer
#
# Usage: bash /path/to/test.sh
# Usage: bash /path/to/test.sh [indicated path]
#
# v2.0
# https://github.com/cotes2020/jekyll-theme-chirpy
@@ -14,6 +14,10 @@
DEST=_site
URL_IGNORE=cdn.jsdelivr.net
if [[ -n $1 && -d $1 ]]; then
DEST=$1
fi
bundle exec htmlproofer $DEST \
--disable-external \
--check-html \