Skip to content

Commit 8b53925

Browse files
committed
update pages-deploy
1 parent 5816fb0 commit 8b53925

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/pages-deploy.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: "Build and Deploy"
22
on:
33
push:
44
branches:
5-
- master
65
- main
6+
- master
77
paths-ignore:
88
- .gitignore
99
- README.md
@@ -37,12 +37,12 @@ jobs:
3737

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

4242
- name: Setup Ruby
4343
uses: ruby/setup-ruby@v1
4444
with:
45-
ruby-version: 3.2
45+
ruby-version: 3.3
4646
bundler-cache: true
4747

4848
- name: Build site
@@ -53,12 +53,11 @@ jobs:
5353
- name: Test site
5454
run: |
5555
bundle exec htmlproofer _site \
56-
\-\-disable-external=true \
57-
\-\-enforce-https=false \
56+
\-\-disable-external \
5857
\-\-ignore-urls "/^http:\/\/127.0.0.1/,/^http:\/\/0.0.0.0/,/^http:\/\/localhost/"
5958
6059
- name: Upload site artifact
61-
uses: actions/upload-pages-artifact@v1
60+
uses: actions/upload-pages-artifact@v3
6261
with:
6362
path: "_site${{ steps.pages.outputs.base_path }}"
6463

@@ -71,4 +70,4 @@ jobs:
7170
steps:
7271
- name: Deploy to GitHub Pages
7372
id: deployment
74-
uses: actions/deploy-pages@v2
73+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)