Skip to content

Commit ed9bda0

Browse files
committed
build(starter): update the html-proofer options for v4
1 parent 25a2705 commit ed9bda0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/pages-deploy.yml.hook

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Setup Ruby
4343
uses: ruby/setup-ruby@v1
4444
with:
45-
ruby-version: 3 # reads from a '.ruby-version' or '.tools-version' file if 'ruby-version' is omitted
45+
ruby-version: 3
4646
bundler-cache: true
4747

4848
- name: Build site
@@ -52,7 +52,9 @@ jobs:
5252

5353
- name: Test site
5454
run: |
55-
bundle exec htmlproofer _site --disable-external --check-html --allow_hash_href
55+
bundle exec htmlproofer _site \
56+
\-\-disable-external=true \
57+
\-\-ignore-urls "/^http:\/\/127.0.0.1/,/^http:\/\/0.0.0.0/,/^http:\/\/localhost/"
5658

5759
- name: Upload site artifact
5860
uses: actions/upload-pages-artifact@v1

0 commit comments

Comments
 (0)