From c23eee09bdd7b3aca9f5cac2e64a1a80719aa8b2 Mon Sep 17 00:00:00 2001 From: dzelge Date: Fri, 20 Aug 2021 12:24:31 +0200 Subject: [PATCH] Corrected workflow --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5b72805..5437fe5 100644 --- a/README.md +++ b/README.md @@ -1 +1,9 @@ -# gha-determine-phase \ No newline at end of file +## Determine the Helm Deployment Phase + +Determine the Deployment Phase from GH Event Name and GH Version Tag. + +- action_name == 'release' and tag not contains 'dev' --> prod +- action_name == 'release' and tag contains 'dev' --> stage +- action_name == 'push' and tag == 'main|master' --> dev +- else: ignore +