Skip to content

try fix

try fix #6

Workflow file for this run

name: Links
on:
deployment_status:
jobs:
check-links:
if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup-node
with:
install: false
# RUN SCRIPT TO USE VERCEL PREVIEW LINK FROM PR
- name: Update preview link
run: node scripts/generate-mlc-config.mjs ${{ github.event.deployment_status.environment_url }}
# RUN SCRIPT TO GENERATE NEW CONFIG WITH VERCEL PREVIEW URL
# RUN LINK CHECK
- uses: gaurav-nelson/github-action-markdown-link-check
with:
config-file: 'mlc-config.json'
file-extension: 'mdx'
# use-verbose-mode: 'yes'
folder-path: docs/guides/docs