Skip to content

Commit

Permalink
chore: check markdown links
Browse files Browse the repository at this point in the history
  • Loading branch information
boyvinall committed Jan 2, 2024
1 parent 1d211f5 commit 6f62c1c
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Check Markdown links

on:
push:
schedule:
- cron: "0 9 * * 0"

jobs:
markdown-link-check:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: ls -al
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-verbose-mode: 'yes'
4 changes: 4 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,20 @@ jobs:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4

- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email github-actions[bot]@users.noreply.github.com
- uses: actions/setup-python@v4
with:
python-version: 3.12
cache: 'pip' # caching pip dependencies

- name: Install Dependencies
run: pip install -r requirements.txt

- name: Deploy
if: ${{ github.ref == 'refs/heads/main' }}
run: mkdocs gh-deploy --strict --force
7 changes: 7 additions & 0 deletions mlc_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"ignorePatterns": [
{
"pattern": "^http://localhost"
}
]
}

0 comments on commit 6f62c1c

Please sign in to comment.