Merge branch 'website-10-lint-jobs-fix' into 'development'

refactor: work as part of other projects

See merge request nofusscomputing/projects/gitlab-ci!36
This commit is contained in:
2023-05-31 02:18:02 +00:00
2 changed files with 9 additions and 5 deletions

View File

@ -48,10 +48,12 @@
- if: '$CI_COMMIT_TAG'
exists:
- "docs/index.md"
- "pages/index.md"
when: always
- if: '$CI_COMMIT_BRANCH &&
( $CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "pipeline")'
exists:
- "docs/index.md"
- "pages/index.md"
when: always
- when: never

View File

@ -28,7 +28,10 @@
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: never
- if: $CI_COMMIT_TAG
when: on_success
exists:
- "mkdocs.yaml"
- "mkdocs.yml"
when: always
- if: '$CI_COMMIT_BRANCH &&
( $CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "pipeline")'
exists:
@ -42,16 +45,15 @@
extends: .MKDocs_Build
variables:
MKDOCS_SOURCE_PATH: docs
needs:
- pipeline: $CI_PIPELINE_ID
job: 'Website.Lint'
rules:
- if: '$JOB_STOP_MKDOCS_BUILD'
when: never
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: never
- if: $CI_COMMIT_TAG
when: on_success
exists:
- "docs/index.md"
when: always
- if: '$CI_COMMIT_BRANCH &&
( $CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "pipeline")'
exists: