mirror of
https://gitlab.com/Anson-Projects/zine.git
synced 2025-06-16 05:26:40 +00:00
Update .gitlab-ci.yml file
This commit is contained in:
parent
1f09bdb17c
commit
918b303d44
@ -5,6 +5,8 @@ stages:
|
||||
|
||||
variables:
|
||||
CARGO_HOME: "$CI_PROJECT_DIR/cargo"
|
||||
DEFAULT_PIPELINE_NAME: "Pipeline Name for $CI_COMMIT_BRANCH"
|
||||
SCHEDULED_PIPELINE_NAME: "Daily scheduled build pipeline"
|
||||
|
||||
cache:
|
||||
paths:
|
||||
@ -41,3 +43,15 @@ pages:
|
||||
- public
|
||||
rules:
|
||||
- if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"
|
||||
|
||||
|
||||
|
||||
workflow:
|
||||
name: $CI_COMMIT_REF_NAME
|
||||
rules:
|
||||
- if: $SCHEDULED_BUILD_PIPELINE == 'true'
|
||||
variables:
|
||||
CI_COMMIT_REF_NAME: $SCHEDULED_PIPELINE_NAME
|
||||
- if: $SCHEDULED_BUILD_PIPELINE != 'true'
|
||||
variables:
|
||||
CI_COMMIT_REF_NAME: $DEFAULT_PIPELINE_NAME
|
Loading…
x
Reference in New Issue
Block a user