Skip to content

Check docs for broken links #29

Check docs for broken links

Check docs for broken links #29

name: Check docs for broken links
on:
workflow_run:
workflows: ["mintlify docs"]
types:
- completed
jobs:
check-broken-link:
if: |
github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.head_branch == 'main'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
- name: Install muffet
run: go install github.com/raviqqe/muffet/v2@latest
- name: Sleep for 5 minutes
run: sleep 300
- name: Check links using container
run: ./scripts/broken-links-check.sh