From 6d831d40cf7ae47e80d766106f9f1f9261c97f35 Mon Sep 17 00:00:00 2001 From: Ng Heng Khai Date: Wed, 24 Apr 2024 22:30:05 +0800 Subject: [PATCH] Update config.yml --- .circleci/config.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7b79cb4..6640011 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -114,7 +114,7 @@ jobs: # Workflow - Defines what sequence will the jobs run. # Orchestrate jobs using workflows. # See: https://circleci.com/docs/workflows/ & https://circleci.com/docs/configuration-reference/#workflows -workflows: +ci_flow: simple_workflow: # Workflow name. This is the name of the workflow, feel free to change it to better match your workflow. # Inside the workflow, you define the jobs you want to run. jobs: @@ -169,3 +169,14 @@ workflows: branches: only: - release + +cicd_flow: + - deploy: + requires: + - publish + filters: + # tags: + # only: /^v[0-9]+\.[0-9]+\.[0-9]+$/ # Ensure this job runs only for semantically versioned tags. This regex pattern matches semantic versioning tags (e.g., v1.0.0, v2.1.3). + branches: + only: + - release