[ci] refactor
This commit is contained in:
parent
d78d8282f5
commit
968713e749
|
@ -118,20 +118,21 @@ workflows:
|
||||||
validate-pr-files:
|
validate-pr-files:
|
||||||
when:
|
when:
|
||||||
not:
|
not:
|
||||||
equal: [ << pipeline.parameters.is_branch_update >>, "yes"]
|
equal: [<< pipeline.parameters.is_branch_update >>, "yes"]
|
||||||
jobs:
|
jobs:
|
||||||
- "Validate PR"
|
- "Validate PR"
|
||||||
- "Validate Documentation"
|
- "Validate Documentation"
|
||||||
update-documentation:
|
update-documentation:
|
||||||
when:
|
when:
|
||||||
and:
|
and:
|
||||||
- equal: [ << pipeline.parameters.is_branch_update >>, "yes"]
|
- equal: [<< pipeline.parameters.is_branch_update >>, "yes"]
|
||||||
- equal: [ << pipeline.git.branch >>, "develop"]
|
- equal: [<< pipeline.git.branch >>, "develop"]
|
||||||
|
- equal: [<< pipeline.parameters.prj_url >>, << pipeline.project.git_url >>]
|
||||||
jobs:
|
jobs:
|
||||||
- "Update documentation files"
|
- "Update documentation files"
|
||||||
update-built-in:
|
update-built-in:
|
||||||
when:
|
when:
|
||||||
equal: [ << pipeline.parameters.is_branch_update >>, "yes"]
|
equal: [<< pipeline.parameters.prj_url >>, << pipeline.project.git_url >>]
|
||||||
triggers:
|
triggers:
|
||||||
- schedule:
|
- schedule:
|
||||||
cron: "0 0,6,12,18 * * *"
|
cron: "0 0,6,12,18 * * *"
|
||||||
|
|
Loading…
Reference in New Issue