FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pidcodes.github.com/.github/workflows/htmlproofer.yml at master · breadbee/pidcodes.github.com · GitHub
breadbee
pidcodes.github.com
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
pidcodes.github.com
/
.github
/
workflows
/
htmlproofer.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
30 lines (30 loc) · 1.4 KB
Breadcrumbs
pidcodes.github.com
/
.github
/
workflows
/
htmlproofer.yml
Copy path
File metadata and controls
30 lines (30 loc) · 1.4 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
#
Trigger the workflow on push or pull request
on
:
[push, pull_request]
jobs
:
build
:
runs-on
:
ubuntu-latest
name
:
HTML Proofer
env
:
HTMLPROOFER_OPTIONS
:
'
./_site --internal-domains=pid.codes --check-html --check-opengraph --report-missing-names --log-level=:debug --url-ignore /www.andreas.org/,/www.kbles.ru/,/github.com\/KK2345\/TinyPassword$/,/github.com\/KK2345\/TinyPassword\/blob\/master\/README.md/,/www.oshec.org/,/github.com\/xuio\/Cynteract$/,/github.com\/mattomatto\/craft$/,/triparts.strikingly.com$/,/facebook.com/varioskybean$/
'
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
ruby/setup-ruby@v1
with
:
ruby-version
:
'
2.6
'
-
uses
:
actions/cache@v2
with
:
path
:
vendor/bundle
key
:
${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
restore-keys
:
|
${{ runner.os }}-gems-
-
name
:
Bundle install
run
:
|
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
-
run
:
bundle exec jekyll doctor
-
run
:
bundle exec jekyll build
-
run
:
bundle exec htmlproofer $HTMLPROOFER_OPTIONS --disable-external
#
External check fail because they fetch too quickly from sites and get
#
429 responses. We should cache checks and rate limit them as well.
#
- run: bundle exec htmlproofer $HTMLPROOFER_OPTIONS
-
run
:
bundle exec github-pages health-check
Back
|
FazBrowse Home
|
New Git URL