gha: split link-check to separate job

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2021-10-07 12:55:06 +02:00
parent ff69fa25ee
commit 9400eb58e9
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 9 additions and 0 deletions

View File

@ -14,6 +14,15 @@ jobs:
- uses: actions/checkout@v2
- name: build image
run: docker build --target=current -t documentation:latest .
validate:
name: validate links
runs-on: ubuntu-18.04
env:
DOCKER_BUILDKIT: '1'
steps:
- name: print docker info
run: docker version && docker info
- uses: actions/checkout@v2
- name: copy files to host
run: docker build --target=deploy-source --output=./_site .
- name: check for broken links