feat: add GitHub Actions workflow for link checking on documentation MERGEOK #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Link checker | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
schedule: | ||
- cron: "00 3 * * 1-5" | ||
jobs: | ||
test: | ||
uses: vespa-engine/gh-actions-workflows/.github/workflows/jekyll-link-checker.yml@remove-redirect-files-before-link-check | ||
with: | ||
build-plugins: | | ||
Check failure on line 18 in .github/workflows/link-checker.yml GitHub Actions / Link checkerInvalid workflow file
|
||
_plugins-linkcheck | ||
additional-args: "--directory-index-file README.html" | ||
ignore-files: |- | ||
/tensor-playground/src/main/resources/playground/ | ||
/src/main/resources/site/index.html/ | ||
/dense-passage-retrieval-with-ann/src/main/resources/frontend/index.html/ | ||
ignore-urls: |- | ||
src/main/application/schemas/wiki.sd#L80 | ||
/localhost:8080/ | ||
src/main/application/search/query-profiles | ||
/hub.docker.com/r/vespaengine/vespa/tags/ | ||
pre-check-script: | | ||
mv links-to-check.html _site | ||
echo "Broken links in links-to-check.html are extracted from services/hosts/deployment.xml in the sample apps," | ||
echo "as well as links in javadoc." | ||
echo "Search for broken links in these files." |