Skip to content

Checking all markdown and links site-wide #67

Checking all markdown and links site-wide

Checking all markdown and links site-wide #67

Workflow file for this run

name: Checking all markdown and links site-wide
on:
# Automatic check weekly
schedule:
- cron: "0 9 * * 1"
# Manually triggered using GitHub's UI
workflow_dispatch:
jobs:
check-all:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check all links
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
config-file: ".config/markdown.links.config.json"
use-quiet-mode: "yes"
use-verbose-mode: "yes"
- name: Run remark-lint on all files
uses: ./.config/remark/
with:
command: remark-all.sh
- name: Send GitHub Action trigger data to Slack workflow
id: slack
uses: slackapi/[email protected]
if: failure()
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}