Skip to content
Snippets Groups Projects
Commit 6b650613 authored by David Schwarzmann's avatar David Schwarzmann
Browse files

ci(Gitlab-CI): Update needs/dependencies for jobs

parent 37e0ce94
No related branches found
No related tags found
1 merge request!2feat(news): Introduce news to the documentation
......@@ -26,6 +26,8 @@ build:
paths:
- build/
expire_in: 30 days
rules:
- when: always
upload:review:
stage: upload
......@@ -35,6 +37,8 @@ upload:review:
on_stop: stop:review
auto_stop_in: 2 week
url: https://docs.fitko.de/preview/fit-connect/$CI_COMMIT_REF_SLUG
needs:
- build
rules:
- if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
before_script:
......@@ -48,6 +52,8 @@ upload:production:
environment:
name: production
url: https://docs.fitko.de/fit-connect/
needs:
- build
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
before_script:
......@@ -61,6 +67,8 @@ stop:review:
environment:
name: review/$CI_COMMIT_REF_NAME
action: stop
needs:
- upload:review
rules:
- if: $CI_MERGE_REQUEST_ID
when: manual
......
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