ResInsight/.github/workflows/check-broken-links.yml
Magne Sjaastad 1655966a22
Merge pull request #8234 from magnesj/test-broken-links
Add workflow file to test for broken links
2021-11-03 11:59:35 +01:00

25 lines
628 B
YAML

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}}"