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

Added schema-link-checker to Pipeline.

parent 96010dcf
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@ include:
stages:
- build
- upload
- validate
build:
stage: build
......@@ -83,3 +84,21 @@ stop:preview:
script:
- ssh fitko@dorado.uberspace.de "rm -rf preview.docs.fitko.dev/fit-connect/$CI_COMMIT_REF_SLUG"
link-check:
stage: validate
variables:
CRAWLER_URL: https://docs.fitko.de/fit-connect/docs
CRAWLER_DOMAIN: docs.fitko.de/fit-connect/docs
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH # live docs
variables:
CRAWLER_URL: https://docs.fitko.de/fit-connect/docs
CRAWLER_DOMAIN: docs.fitko.de/fit-connect/docs
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH # preview docs
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/
trigger:
strategy: depend
project: fit-connect/schema-link-checker
branch: main
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