DOC-305: orphan pages detector #858
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check for dead links | |
on: | |
pull_request: | |
branches: [main, 'v/*', archived-versions] | |
workflow_dispatch: | |
jobs: | |
check-links: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Current Repo | |
uses: actions/checkout@v4 | |
- name: Test install | |
# run: npm i git+https://${{ github.token }}@github.com/hazelcast/hazelcast-docs-tools.git#v0.0.1-alpha | |
run: | | |
npm i git+https://${{ secrets.GH_TOKEN_DOCS_TOOLS }}@github.com/hazelcast/hazelcast-docs-tools | |
- name: Check dead links | |
uses: hazelcast/hazelcast-docs/.github/actions/validate@main | |
- name: Check orphan pages | |
shell: bash | |
run: npm run check-orphan-pages |