mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-01 03:37:15 -06:00
1655966a22
Add workflow file to test for broken links
25 lines
628 B
YAML
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}}"
|