Skip to content

Commit

Permalink
add workflow for checking broken links
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriechan committed Jul 9, 2023
1 parent ffc6803 commit 5641409
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/broken-link-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Copyright the Hyperledger Fabric contributors. All rights reserved.
#
# SPDX-License-Identifier: Apache-2.0

name: "Broken link checker"

on:
workflow_dispatch:
schedule:
- cron: "50 1 * * *"
pull_request:

permissions:
contents: read

jobs:
broken-lint-checker:
name: "Check for broken links"
runs-on: fabric-ubuntu-latest
steps:
- name: Checkout Fabric Code
uses: actions/checkout@v3
- name: Build Documentation Website
run: make docs
- name: Check Broken Links
uses: ruzickap/action-my-broken-link-checker@v2
with:
pages_path: ./docs/docs/build/html
url: https://hyperledger-fabric.readthedocs.io/

0 comments on commit 5641409

Please sign in to comment.