Skip to content

Commit b06a40e

Browse files
esolitosgitbutler-client
authored andcommitted
feat: migrate "link-checker-sample-apps" workflow from Screwdriver to Github
temporary test with separate branch
1 parent 1ff9e32 commit b06a40e

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/link-checker.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Link checker
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- master
8+
pull_request:
9+
branches:
10+
- master
11+
schedule:
12+
- cron: "00 3 * * 1-5"
13+
14+
jobs:
15+
test:
16+
uses: vespa-engine/gh-actions-workflows/.github/workflows/jekyll-link-checker.yml@remove-redirect-files-before-link-check
17+
with:
18+
add-no-render-with-liquid: "true"
19+
build-plugins: |
20+
_plugins-linkcheck
21+
additional-args: "--directory-index-file README.html"
22+
ignore-files: |-
23+
/tensor-playground/src/main/resources/playground/
24+
/src/main/resources/site/index.html/
25+
/dense-passage-retrieval-with-ann/src/main/resources/frontend/index.html/
26+
ignore-urls: |-
27+
src/main/application/schemas/wiki.sd#L80
28+
/localhost:8080/
29+
src/main/application/search/query-profiles
30+
/hub.docker.com/r/vespaengine/vespa/tags/
31+
pre-check-script: |
32+
ls -lA
33+
mv links-to-check.html _site
34+
echo "Broken links in links-to-check.html are extracted from services/hosts/deployment.xml in the sample apps,"
35+
echo "as well as links in javadoc."
36+
echo "Search for broken links in these files."

0 commit comments

Comments
 (0)