-
Notifications
You must be signed in to change notification settings - Fork 17
35 lines (34 loc) · 896 Bytes
/
check.yaml
File metadata and controls
35 lines (34 loc) · 896 Bytes
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
name: check
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
checklinks:
name: Linux
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.1
- name: Setup Rubygems, Bundler, jekyll
run: |
gem update --system --no-document
gem update bundler --no-document
gem install jekyll bundler
bundle install
- name: Build jekyll website with drafts
run: bundle exec jekyll build --drafts
- name: Check for broken links
run: |
bundle exec htmlproofer ./_site --disable-external --no-enforce-https --allow-missing-href --no-check-internal-hash
- name: check more
run: |
_scripts/run_check.pl