Skip to content

Commit

Permalink
HEAT-227: Updated ipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
KalyanaVadlamani committed Apr 2, 2024
1 parent 9cfb8c0 commit 1899b82
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/actions/get-env-details/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ runs:
id: cloud-platform
shell: bash
run: |
if [ '${{ inputs.environment }}' == 'dev' ]; then namespace='dev'; fi
if [ '${{ inputs.environment }}' == 'prod' ]; then namespace='prod'; fi
echo "namespace=${namespace}" | tee -a "$GITHUB_OUTPUT"
echo "values-file=values-${namespace}.yml" | tee -a "$GITHUB_OUTPUT"
if [ '${{ inputs.github_environment }}' == 'dev' ]; then
echo "namespace=${namespace}"
else
namespace="prod"
echo "namespace=${namespace}" | tee -a "$GITHUB_OUTPUT"
echo "values-file=values-${namespace}.yml" | tee -a "$GITHUB_OUTPUT"
fi

0 comments on commit 1899b82

Please sign in to comment.