Skip to content
Snippets Groups Projects
Commit 0662fb72 authored by Pascal Osterwinter's avatar Pascal Osterwinter
Browse files

Add schema-link-checker to docs pipelinet to find broken schema links before changes are done.

parent b645d7e2
No related branches found
No related tags found
1 merge request!220Add schema-link-checker to docs pipeline (planning#101)
...@@ -13,6 +13,7 @@ include: ...@@ -13,6 +13,7 @@ include:
stages: stages:
- build - build
- upload - upload
- validate
build: build:
stage: build stage: build
...@@ -67,6 +68,20 @@ upload:production: ...@@ -67,6 +68,20 @@ upload:production:
- ssh -o CheckHostIP=no fitko@dorado.uberspace.de mkdir -p docs.fitko.de/fit-connect - ssh -o CheckHostIP=no fitko@dorado.uberspace.de mkdir -p docs.fitko.de/fit-connect
- rsync -rLvz --delete --checksum -e "ssh -o CheckHostIP=no" --ipv4 --progress ./build/. fitko@dorado.uberspace.de:docs.fitko.de/fit-connect - rsync -rLvz --delete --checksum -e "ssh -o CheckHostIP=no" --ipv4 --progress ./build/. fitko@dorado.uberspace.de:docs.fitko.de/fit-connect
link-check:
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
stage: validate
variables:
CRAWLER_URL: https://preview.docs.fitko.dev/fit-connect/$CI_COMMIT_REF_SLUG/
CRAWLER_DOMAIN: preview.docs.fitko.dev/fit-connect/$CI_COMMIT_REF_SLUG/
needs:
- upload:preview
trigger:
strategy: depend
project: fit-connect/schema-link-checker
branch: main
stop:preview: stop:preview:
stage: .post stage: .post
image: alpine:latest image: alpine:latest
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment