From 968713e749be5ec7b388e70e941f098f57c10022 Mon Sep 17 00:00:00 2001 From: JAremko Date: Tue, 6 Jul 2021 15:56:57 +0300 Subject: [PATCH] [ci] refactor --- .circleci/config_tmpl.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.circleci/config_tmpl.yml b/.circleci/config_tmpl.yml index 6da9fd6c9..69c5f2074 100644 --- a/.circleci/config_tmpl.yml +++ b/.circleci/config_tmpl.yml @@ -118,20 +118,21 @@ workflows: validate-pr-files: when: not: - equal: [ << pipeline.parameters.is_branch_update >>, "yes"] + equal: [<< pipeline.parameters.is_branch_update >>, "yes"] jobs: - "Validate PR" - "Validate Documentation" update-documentation: when: and: - - equal: [ << pipeline.parameters.is_branch_update >>, "yes"] - - equal: [ << pipeline.git.branch >>, "develop"] + - equal: [<< pipeline.parameters.is_branch_update >>, "yes"] + - equal: [<< pipeline.git.branch >>, "develop"] + - equal: [<< pipeline.parameters.prj_url >>, << pipeline.project.git_url >>] jobs: - "Update documentation files" update-built-in: when: - equal: [ << pipeline.parameters.is_branch_update >>, "yes"] + equal: [<< pipeline.parameters.prj_url >>, << pipeline.project.git_url >>] triggers: - schedule: cron: "0 0,6,12,18 * * *"