diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml index 7cc40ef..8f50803 100644 --- a/.github/workflows/linkcheck.yml +++ b/.github/workflows/linkcheck.yml @@ -4,9 +4,10 @@ on: push: branches: - main + workflow_dispatch: jobs: - build: + linkcheck: runs-on: ubuntu-latest steps: @@ -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