Skip to content

Commit

Permalink
Fix for error on setting app name
Browse files Browse the repository at this point in the history
  • Loading branch information
sshrihar committed Mar 20, 2024
1 parent 598269a commit 3a55ea0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,11 @@ jobs:
- name: Determine APP name
id: get_app_name
run: |
echo "APP_NAME=${{ inputs.environment == 'prod' ? inputs.core_app_name : inputs.core_app_name-${{ inputs.environment }} }}" >> $GITHUB_ENV
if [[ "${{ inputs.environment }}" == "prod" ]]; then
echo "APP_NAME=${{ inputs.core_app_name }}" >> $GITHUB_ENV
else
echo "APP_NAME=${{ inputs.core_app_name }}-${{ inputs.environment }}" >> $GITHUB_ENV
fi
- name: Create taskdef file dynamically using parameters passed
run: |
export PIPENV_PIPFILE=.github/taskdefinition_template/Pipfile
Expand Down

0 comments on commit 3a55ea0

Please sign in to comment.