diff --git a/.github/actions/get-env-details/action.yml b/.github/actions/get-env-details/action.yml index e49dd80..c42086c 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.github_environment }}' == 'development' ]; then namespace='dev'; fi - if [ '${{ inputs.github_environment }}' == 'production' ]; then namespace='prod'; fi + if [ '${{ inputs.environment }}' == 'development' ]; then namespace='dev'; fi + if [ '${{ inputs.environment }}' == 'production' ]; then namespace='prod'; fi echo "namespace=${namespace}" | tee -a "$GITHUB_OUTPUT" echo "values-file=values-${namespace}.yml" | tee -a "$GITHUB_OUTPUT"