Skip to content

Commit

Permalink
CI: rewrite links to yet-to-be-uploaded PR artifacts to local. Just use
Browse files Browse the repository at this point in the history
  • Loading branch information
Axel-Naumann committed Dec 14, 2023
1 parent 424375e commit 102dde8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
JEKYLL_ENV: production

- name: Check validity of links
uses: lycheeverse/lychee-action@v1.8.0
uses: lycheeverse/lychee-action@v1
with:
# Reasons for exclude
# - https://root.cern/[0-9]+: Breaks checking local builds due to links in the metadata
Expand All @@ -50,10 +50,11 @@ jobs:
# - nbviewer: When notebook generation fails, nbviewer returns 404 errors, and errors might even be cached in CDNs for a while
# - lcginfo.cern.ch: does not support HTTPS, see https://sft.its.cern.ch/jira/browse/SPI-1672
# - http://simul.iro.umontreal.ca/testu01/tu01.html does not support HTTPS
# Reasons for file-ignore
# Reasons for --exclude-path
# - Broken links in historic ROOT v5 release notes
#
# add `--include-fragments` once released!
args: --base build --no-progress --exclude-mail --exclude-path 'build/install/all_releases/' --exclude https://rootbnch-grafana-test.cern.ch --exclude https://lcgapp-services.cern.ch/root-jenkins --exclude https://indico.desy.de --exclude https://nbviewer.jupyter.org --exclude https://www.sciencedirect.com --exclude https://github.com/root-project/web/tree/ --exclude https://twitter.com/ROOT_Project 'build/**/*.html'
args: --base build/ --no-progress --exclude-mail --exclude-path './build/${PR_NUMBER}/install/all_releases/' --exclude https://rootbnch-grafana-test.cern.ch --exclude https://lcgapp-services.cern.ch/root-jenkins --exclude https://indico.desy.de --exclude https://nbviewer.jupyter.org --exclude https://www.sciencedirect.com --exclude https://github.com/root-project/web/tree/ --exclude https://twitter.com/ROOT_Project ${{ github.event_name == 'pull_request' && '--remap "https://root.cern/${PR_NUMBER} file://" ' || ''}} 'build/**/*.html'
# Fail action on broken links
fail: true

Expand Down

0 comments on commit 102dde8

Please sign in to comment.