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

Revert "Revert "Added schema-link-checker to Pipeline.""

This reverts commit 203ac181
parent 203ac181
1 merge request!224Added schema-link-checker to Pipeline.
...@@ -13,6 +13,7 @@ include: ...@@ -13,6 +13,7 @@ include:
stages: stages:
- build - build
- upload - upload
- validate
build: build:
stage: build stage: build
...@@ -83,3 +84,21 @@ stop:preview: ...@@ -83,3 +84,21 @@ stop:preview:
script: script:
- ssh fitko@dorado.uberspace.de "rm -rf preview.docs.fitko.dev/fit-connect/$CI_COMMIT_REF_SLUG" - 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