diff --git a/codefresh/CI/pipeline-spec.yml b/codefresh/CI/pipeline-spec.yml index b4d21f0814..ea794ad85f 100644 --- a/codefresh/CI/pipeline-spec.yml +++ b/codefresh/CI/pipeline-spec.yml @@ -74,6 +74,9 @@ spec: context: Dapulse-OAuth2 contexts: - sandbox + variables: + - key: TRIGGER_TYPE + value: prod stages: [] contexts: [] diff --git a/codefresh/CI/workflow.yml b/codefresh/CI/workflow.yml index d631966433..f61c50147c 100644 --- a/codefresh/CI/workflow.yml +++ b/codefresh/CI/workflow.yml @@ -165,6 +165,7 @@ steps: all: isMaster: "'${{CF_BRANCH}}' == 'master'" myCondition: deploy_staging.result == 'success' + isProd: '"${{TRIGGER_TYPE}}" == "prod"' push_tag: