From 09513b49422273c7a16b5cb2ca34b9fc0678b9b4 Mon Sep 17 00:00:00 2001 From: james Hart Date: Mon, 3 Mar 2025 15:20:27 +0000 Subject: [PATCH] fix the namespace --- .github/actions/get-env-details/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/get-env-details/action.yml b/.github/actions/get-env-details/action.yml index ef726ca..c6e13bb 100644 --- a/.github/actions/get-env-details/action.yml +++ b/.github/actions/get-env-details/action.yml @@ -23,7 +23,8 @@ runs: id: cloud-platform shell: bash run: | - if [ '${{ inputs.environment }}' == 'development' ]; then namespace='dev'; fi + namespace="{{ inputs.environment }}" + if [ '${{ inputs.environment }}' == 'development' or ]; then namespace='dev'; fi if [ '${{ inputs.environment }}' == 'production' ]; then namespace='prod'; fi echo "namespace=${namespace}" | tee -a "$GITHUB_OUTPUT" echo "values-file=values-${namespace}.yaml" | tee -a "$GITHUB_OUTPUT"