Skip to content

Commit 46a670c

Browse files
committed
Avoid vimeo and micro-ros.github.io//blog url checks.
1 parent 5977e52 commit 46a670c

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

scripts/cibuild

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
#!/usr/bin/env bash
22
set -e # halt script on error
33

4+
IGNORE_HREFS=$(ruby -e 'puts %w{
5+
vimeo.com
6+
micro-ros.github.io//blog
7+
}.map{|h| "/#{h}/"}.join(",")'
8+
)
9+
410
bundle exec jekyll build
5-
bundle exec htmlproofer --check_html --check-favicon --assume-extension --empty-alt-ignore --only-4xx ./_site
11+
bundle exec htmlproofer --check_html --check-favicon --assume-extension --empty-alt-ignore --only-4xx --url-ignore $IGNORE_HREFS $@ ./_site

0 commit comments

Comments
 (0)