Skip to content

Commit

Permalink
fix the namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
james-jdgtl committed Mar 3, 2025
1 parent bd5f981 commit 09513b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/get-env-details/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 09513b4

Please sign in to comment.