-
Notifications
You must be signed in to change notification settings - Fork 31
30 lines (29 loc) · 863 Bytes
/
links.yml
File metadata and controls
30 lines (29 loc) · 863 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
name: links
on:
workflow_dispatch:
schedule:
- cron: "0 0 1 * *"
jobs:
linkChecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- run: sudo apt-get install ruby-full build-essential zlib1g-dev git
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4.8'
- run: gem install bundler jekyll --no-document
- run: bundle install
- run: bundle exec jekyll build
- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v2.7.0
with:
args: --verbose --max-concurrency 1 --retry-wait-time 30 './_site/**/*.html'
- name: Create Issue From File
if: failure()
uses: peter-evans/create-issue-from-file@v6
with:
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: bug