mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Merge pull request #8234 from magnesj/test-broken-links
Add workflow file to test for broken links
This commit is contained in:
parent
34a5d22402
commit
1655966a22
24
.github/workflows/check-broken-links.yml
vendored
Normal file
24
.github/workflows/check-broken-links.yml
vendored
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
name: Broken link check
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- gh-pages
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
broken_link_checker_job:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
name: Check for broken links
|
||||||
|
steps:
|
||||||
|
- name: Check for broken links
|
||||||
|
id: link-report
|
||||||
|
uses: celinekurpershoek/link-checker@v1.0.1
|
||||||
|
with:
|
||||||
|
# Required:
|
||||||
|
url: 'https://resinsight.org/'
|
||||||
|
# optional:
|
||||||
|
honorRobotExclusions: false
|
||||||
|
ignorePatterns: ''
|
||||||
|
recursiveLinks: false # Check all URLs on all reachable pages (could take a while)
|
||||||
|
- name: Get the result
|
||||||
|
run: echo "${{steps.link-report.outputs.result}}"
|
Loading…
Reference in New Issue
Block a user