diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ffd93e1dbd02e04771c62c6917f927491fcf77ff..8dfea98216901d39e41b3b22228689172f2e4e53 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,9 +13,8 @@ include: stages: - build - upload - - validate -.build: +build: stage: build image: node:lts-alpine variables: @@ -34,7 +33,7 @@ stages: rules: - when: always -.upload:preview: +upload:preview: stage: upload image: alpine:latest environment: @@ -52,7 +51,7 @@ stages: - ssh -o CheckHostIP=no fitko@dorado.uberspace.de mkdir -p preview.docs.fitko.dev/fit-connect - rsync -rLvz --delete --checksum -e "ssh -o CheckHostIP=no" --ipv4 --progress ./build/. fitko@dorado.uberspace.de:preview.docs.fitko.dev/fit-connect/$CI_COMMIT_REF_SLUG -.upload:production: +upload:production: stage: upload image: alpine:latest environment: @@ -68,7 +67,7 @@ stages: - 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 -.stop:preview: +stop:preview: stage: .post image: alpine:latest environment: @@ -84,12 +83,3 @@ stages: 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 - trigger: - strategy: depend - project: fit-connect/schema-link-checker - branch: main