Skip to content

Commit

Permalink
Whoops it needs to be in the PR task too
Browse files Browse the repository at this point in the history
  • Loading branch information
budak7273 committed Sep 4, 2024
1 parent 401426d commit 23a5add
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,22 @@ jobs:
- name: Build
run: npm run build:ci

- id: lychee
- id: lychee-main
name: Check for Broken Links (Main Docs)
uses: lycheeverse/lychee-action@v1
with:
args: --verbose --exclude-all-private --accept '200,429' --github-token '${{ secrets.LYCHEE_TOKEN }}' './build/**/*.html'
args: --verbose --exclude-all-private --no-progress --accept '200,429' --github-token '${{ secrets.LYCHEE_TOKEN }}' './build/site/satisfactory-modding/**/*.html'
fail: true

- id: lychee-submods
name: Check for Broken Links (Subsites)
uses: lycheeverse/lychee-action@v1
with:
# TODO there surely must be a better way to do this
# exclude the main docs dir from this check to avoid doing work twice
args: --verbose --exclude-all-private --no-progress --accept '200,429' --github-token '${{ secrets.LYCHEE_TOKEN }}' './build/site/[!s][!a][!t][!i]*/**/*.html'
fail: false

image:
name: Image
runs-on: ubuntu-latest
Expand Down

0 comments on commit 23a5add

Please sign in to comment.