diff --git a/.github/actions/get-env-details/action.yml b/.github/actions/get-env-details/action.yml index 59e0fa3..f607e98 100644 --- a/.github/actions/get-env-details/action.yml +++ b/.github/actions/get-env-details/action.yml @@ -23,7 +23,7 @@ runs: id: cloud-platform shell: bash run: | - if [ '${{ inputs.environment }}' == 'dev' ]; then namespace='development'; fi - if [ '${{ inputs.environment }}' == 'prod' ]; then namespace='production'; fi + if [ '${{ inputs.environment }}' == 'development' ]; then namespace='development'; fi + if [ '${{ inputs.environment }}' == 'production' ]; then namespace='production'; fi echo "namespace=${namespace}" | tee -a "$GITHUB_OUTPUT" - echo "values-file=values-${namespace}.yml" | tee -a "$GITHUB_OUTPUT" + echo "values-file=values-${inputs.environment}.yml" | tee -a "$GITHUB_OUTPUT"