makes dump job only run on assets branch, makes all other jobs not run on

assets branch
parent 91fa1e55
Pipeline #733 passed with stage
in 1 minute and 4 seconds
...@@ -3,7 +3,7 @@ variables: ...@@ -3,7 +3,7 @@ variables:
GIT_SSL_NO_VERIFY: "true" GIT_SSL_NO_VERIFY: "true"
before_script: before_script:
- apk add bash --update - apk add bash --no-cache
stages: stages:
- dump - dump
...@@ -25,6 +25,8 @@ build: ...@@ -25,6 +25,8 @@ build:
- ./ - ./
expire_in: '1h' expire_in: '1h'
environment: ${CI_BUILD_REF_NAME} environment: ${CI_BUILD_REF_NAME}
except:
- assets
layout: layout:
stage: layout stage: layout
...@@ -41,6 +43,8 @@ layout: ...@@ -41,6 +43,8 @@ layout:
environment: ${CI_BUILD_REF_NAME} environment: ${CI_BUILD_REF_NAME}
dependencies: dependencies:
- build - build
except:
- assets
.deploy-template: &deploy_template .deploy-template: &deploy_template
stage: deploy stage: deploy
...@@ -53,6 +57,8 @@ layout: ...@@ -53,6 +57,8 @@ layout:
when: manual when: manual
dependencies: dependencies:
- layout - layout
except:
- assets
deploy-master: deploy-master:
<<: *deploy_template <<: *deploy_template
...@@ -85,4 +91,5 @@ dump-assets: ...@@ -85,4 +91,5 @@ dump-assets:
dependencies: dependencies:
when: when:
only: only:
- develop - assets
except:
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