-
Notifications
You must be signed in to change notification settings - Fork 5
44 lines (37 loc) · 1.3 KB
/
htmlproofer.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: htmlproofer
on:
push:
branches:
- htmlproofer
- master
workflow_dispatch:
inputs:
branchname:
description: 'Run htmlproofer on branch'
default: 'htmlproofer'
required: true
jobs:
htmlproofer1:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Checkout ${{ github.event.inputs.branchname }}
uses: actions/checkout@v2
with:
ref: ${{ github.event.inputs.branchname }}
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
- name: Build jekyll site
run: |
bundle install
bundle update github-pages
bundle exec jekyll build
- name: Run HTMLProofer action
run: |
bundle exec htmlproofer --empty_alt_ignore --checks-to-ignore ImageCheck --only_4xx --url-ignore "https://fonts.gstatic.com,https://fonts.gstatic.com/,https://www.linkedin.com,https://github.com/jku-vds-lab/rubiks-cube-demonstrator,https://www.amd.com/en/support,https://support.amd.com/us/gpudownload/Pages/index.aspx,dx.doi.org/10.33313/380/218,https://dx.doi.org/10.1177/1473871619878085" --assume-extension ./_site --http_status_ignore="999,403"
#branding:
#icon: "check"
#color: "green"