Commit 0e554489 authored by Grant's avatar Grant
Browse files

[ci] use wiki component

parent 834c3652
Loading
Loading
Loading
Loading
+5 −8
Original line number Diff line number Diff line
@@ -4,6 +4,11 @@ stages:
  - test
  - deploy

include:
  - component: sc07.dev/sc07/ci/wiki@main
    inputs:
      wiki_token: $CI_TOKEN

eslint client:
  stage: lint
  rules:
@@ -61,14 +66,6 @@ jest server:
        coverage_format: cobertura
        path: packages/server/coverage/cobertura-coverage.xml

build wiki:
  stage: build
  trigger:
    include: .gitlab/ci/wiki.yml
  allow_failure: true
  rules:
    - if: $CI_PIPELINE_SOURCE != "merge_request_event" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH

deploy:
  stage: deploy
  trigger: