Skip to content

Commit 8dfe046

Browse files
author
Patrick M
committed
update job with upstream
1 parent a2472b7 commit 8dfe046

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/pages-deploy.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ jobs:
3737

3838
- name: Setup Pages
3939
id: pages
40-
uses: actions/configure-pages@v1
40+
uses: actions/configure-pages@v4
4141

4242
- name: Setup Ruby
4343
uses: ruby/setup-ruby@v1
4444
with:
45-
ruby-version: 3.1.3 # reads from a '.ruby-version' or '.tools-version' file if 'ruby-version' is omitted
45+
ruby-version: 3.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 \
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@v3
@@ -68,4 +70,4 @@ jobs:
6870
steps:
6971
- name: Deploy to GitHub Pages
7072
id: deployment
71-
uses: actions/deploy-pages@v3
73+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)