From 45d428c1facc73108913733c15e8e664abfe9498 Mon Sep 17 00:00:00 2001 From: ange Date: Wed, 1 May 2024 12:36:00 +0200 Subject: [PATCH] feat: script depends on branch name --- k8sdeploy.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/k8sdeploy.sh b/k8sdeploy.sh index 3ac27e5..7b802a9 100755 --- a/k8sdeploy.sh +++ b/k8sdeploy.sh @@ -21,4 +21,8 @@ if [ -n "$ACTION_REGISTRY_PASSWORD" ]; then --docker-password="$ACTION_REGISTRY_PASSWORD" fi -./manifests/bin/devel.sh +if [ "$ACTION_REF_NAME" == prod ]; then + ./manifests/bin/prod.sh +else + ./manifests/bin/devel.sh +fi