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:
GIT_SSL_NO_VERIFY: "true"
before_script:
- apk add bash --update
- apk add bash --no-cache
stages:
- dump
......@@ -25,6 +25,8 @@ build:
- ./
expire_in: '1h'
environment: ${CI_BUILD_REF_NAME}
except:
- assets
layout:
stage: layout
......@@ -41,6 +43,8 @@ layout:
environment: ${CI_BUILD_REF_NAME}
dependencies:
- build
except:
- assets
.deploy-template: &deploy_template
stage: deploy
......@@ -53,6 +57,8 @@ layout:
when: manual
dependencies:
- layout
except:
- assets
deploy-master:
<<: *deploy_template
......@@ -85,4 +91,5 @@ dump-assets:
dependencies:
when:
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