forked from validatedpatterns/docs
-
Notifications
You must be signed in to change notification settings - Fork 6
38 lines (38 loc) · 1.24 KB
/
htmlproof.yml
File metadata and controls
38 lines (38 loc) · 1.24 KB
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
name: Html Proof
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0.4
bundler-cache: true
- uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- run: bundle exec jekyll build
- uses: anishathalye/proof-html@v1
with:
directory: ./_site
enforce_https: true
check_favicon: false
tokens: |
{"https://github.com": "${{ secrets.GITHUB_TOKEN }}"}
url_ignore: |
http://www.example.com/
https://en.wikipedia.org/wiki/Main_Page
url_ignore_re: |
^https://twitter.com/
^https://hybrid-cloud-patterns.io//2022/
^https://hybrid-cloud-patterns.io/2022/
^https://hybrid-cloud-patterns.io//blog/
^https://hybrid-cloud-patterns.io/blog/
^https://github.com/hybrid-cloud-patterns/docs/blob/gh-pages