mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2026-04-10 12:33:42 +00:00
* Organized setup instructions * update tets * link checker action * raise error upon broken link * fix links * fix links * delete duplicated paragraph
25 lines
460 B
YAML
25 lines
460 B
YAML
name: Check Markdown Links
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
check-links:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Install Markdown Link Checker
|
|
run: npm install -g markdown-link-check
|
|
|
|
- name: Find Markdown Files and Check Links
|
|
run: |
|
|
find . -name '*.md' -exec markdown-link-check {} \;
|