Skip to content

Checking all markdown and links site-wide #19

Checking all markdown and links site-wide

Checking all markdown and links site-wide #19

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-links:
name: runner / linkspector
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run linkspector on all links
uses: umbrelladocs/action-linkspector@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-check
fail_on_error: true
config_file: .config/linkspector.yml
filter_mode: nofilter
- 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 }}