chore: Release 0.16.0
#1804
Workflow file for this run
This file contains hidden or 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
# workflows/test-docs.yml | |
# | |
# Test Docs | |
# Test our documentation for broken links via Mintlify. | |
name: Test Docs | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
branches: | |
- main | |
- staging | |
- dev | |
paths: | |
- ".github/workflows/test-docs.yml" | |
- "docs/**" | |
workflow_dispatch: | |
concurrency: | |
group: test-docs-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test-docs: | |
name: Test Docs for Broken Links | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.draft == false | |
steps: | |
- name: Checkout Git Repository | |
uses: actions/checkout@v4 | |
- name: Install Mintlify CLI | |
run: npm install -g mintlify | |
- name: Test Docs for Broken Links | |
working-directory: docs/ | |
run: | | |
output=$(mintlify broken-links) | |
if [[ "$output" == *"No broken links found."* ]]; then | |
echo "No broken links found." | |
else | |
echo "$output" | |
exit 1 | |
fi |