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 4d3f832 commit 9cfb8c0
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,17 @@ jobs:
with:
environment: ${{ inputs.environment }}

- name: Set Deployment namespace
id: set_namespace
run: |
if [[ "${{ inputs.github_environment }}" == "dev" ]]; then
echo "::set-output name=namespace::dev"
elif [[ "${{ inputs.github_environment }}" == "prod" ]]; then
echo "::set-output name=namespace::prod"
else
echo "Invalid environment specified: ${{ inputs.github_environment }}"
exit 1
fi
# - name: Set Deployment namespace
# id: set_namespace
# run: |
# if [[ "${{ inputs.github_environment }}" == "dev" ]]; then
# echo "::set-output name=namespace::dev"
# elif [[ "${{ inputs.github_environment }}" == "prod" ]]; then
# echo "::set-output name=namespace::prod"
# else
# echo "Invalid environment specified: ${{ inputs.github_environment }}"
# exit 1
# fi


- name: Deploy to Dev
Expand Down

0 comments on commit 9cfb8c0

Please sign in to comment.