-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: migrate "link-checker-sample-apps" workflow from Screwdriver to…
… Github temporary test with separate branch
- Loading branch information
1 parent
1ff9e32
commit 2e3fe6e
Showing
2 changed files
with
45 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
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/.github/workflows/jekyll-link-checker.yml@remove-redirect-files-before-link-check | ||
with: | ||
additional-args: "--directory-index-file README.html" | ||
add-no-render-with-liquid: "true" | ||
build-plugins: | | ||
_plugins-linkcheck | ||
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, as well as links in javadoc." | ||
echo "Search for broken links in these files." | ||
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/ | ||
swap-urls: |- | ||
(https\://github.com.*/master/.*)#.*:\1 | ||
(https\://github.com.*/main/.*)#.*:\1 | ||
^(?!https)(.*)\.md:\1.html |
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