File tree Expand file tree Collapse file tree 2 files changed +34
-3
lines changed Expand file tree Collapse file tree 2 files changed +34
-3
lines changed Original file line number Diff line number Diff line change
1
+ name: HTMLProofer (links)
2
+
3
+ on:
4
+ pull_request:
5
+ branches: [ "master" ]
6
+
7
+ jobs:
8
+ test:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Checkout
12
+ uses: actions/checkout@v4
13
+
14
+ - name: Setup Ruby
15
+ uses: ruby/setup-ruby@v1
16
+ with:
17
+ ruby-version: '3.2'
18
+ bundler-cache: true
19
+
20
+ - name: Build site
21
+ run: |
22
+ bundle install --jobs 4 --retry 3
23
+ bundle exec jekyll build --trace
24
+
25
+ - name: Run HTMLProofer
26
+ run: |
27
+ bundle exec htmlproofer ./_site \
28
+ --disable-external \
29
+ --enforce_https \
30
+ --check_html \
31
+ --check_favicon
32
+
Original file line number Diff line number Diff line change 22
22
uses : actions/checkout@v4
23
23
- name : Setup Pages
24
24
uses : actions/configure-pages@v5
25
- - name : Build with Jekyll
26
- uses : actions/jekyll-build@v1
25
+ - name : Build with Jekyll for Pages
26
+ uses : actions/jekyll-build-pages @v1
27
27
with :
28
28
source : ./
29
29
destination : ./_site
42
42
- name : Deploy to GitHub Pages
43
43
id : deployment
44
44
uses : actions/deploy-pages@v4
45
-
You can’t perform that action at this time.
0 commit comments