Verified Commit 3aad27c7 authored by Elias Häußler's avatar Elias Häußler 🐛
Browse files

[BUGFIX] Skip default tasks in CI when manually rendering docs

parent 7c1a3b50
Pipeline #791 passed with stages
in 2 minutes and 7 seconds
......@@ -34,6 +34,8 @@ build:
rules:
- if: '$CI_PIPELINE_SOURCE == "pipeline"'
when: never
- if: '$RENDER_DOCS'
when: never
- if: '$CI_COMMIT_BRANCH'
when: on_success
......@@ -46,6 +48,8 @@ lint:php:
rules:
- if: '$CI_PIPELINE_SOURCE == "pipeline"'
when: never
- if: '$RENDER_DOCS'
when: never
- if: '$CI_COMMIT_BRANCH'
when: on_success
......@@ -58,6 +62,8 @@ lint:composer:
rules:
- if: '$CI_PIPELINE_SOURCE == "pipeline"'
when: never
- if: '$RENDER_DOCS'
when: never
- if: '$CI_COMMIT_BRANCH'
when: on_success
......@@ -75,6 +81,8 @@ sca:php:
rules:
- if: '$CI_PIPELINE_SOURCE == "pipeline"'
when: never
- if: '$RENDER_DOCS'
when: never
- if: '$CI_COMMIT_BRANCH'
when: on_success
......@@ -134,6 +142,8 @@ test:
reports:
junit: .build/coverage/junit.xml
rules:
- if: '$RENDER_DOCS'
when: never
- if: '$CI_COMMIT_BRANCH'
when: on_success
......@@ -174,8 +184,8 @@ deploy:docs:
- 'rsync -avz --chmod=Du=rwx,Dgo=rx,Fu=rw,Fog=r site/ eliashae@cp140.sp-server.net:/home/eliashae/html/docs.elias-haeussler.de/composer-update-reporter/'
cache: {}
rules:
- if: '$RENDER_DOCS'
when: never
- if: '$RENDER_DOCS && $DEPLOY_DOCS'
when: on_success
- if: '$CI_COMMIT_BRANCH == "master"'
when: on_success
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment