Skip to content

Commit

Permalink
Add link checker
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoelho93 committed Feb 14, 2024
1 parent 8dd64a6 commit 28edb06
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
name: ci
name: ci
on:
push:
branches:
- main
permissions:
contents: write
jobs:
mkdocs-link-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Check Links
uses: byrnereese/github-action-mkdocs-link-check@v1
deploy:
runs-on: ubuntu-latest
steps:
Expand All @@ -17,12 +24,12 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v3
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force

0 comments on commit 28edb06

Please sign in to comment.