Skip to content

Commit

Permalink
minimal dependencies for linkcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
neon-ninja authored Nov 15, 2023
1 parent 3df027c commit d07a39a
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions .github/workflows/linkcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ on:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
linkcheck:
runs-on: ubuntu-latest

steps:
Expand All @@ -19,19 +20,7 @@ jobs:
python-version: 3.x

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install mkdocs-linkcheck
run: pip install mkdocs-linkcheck

- name: Build and linkcheck
run: |
mkdocs build
mkdocs linkcheck
manual-trigger:
runs-on: ubuntu-latest
needs: build
steps:
- name: Trigger manual run
run: echo "Manually triggered workflow"
- name: Run mkdocs linkcheck
run: mkdocs linkcheck

0 comments on commit d07a39a

Please sign in to comment.