Skip to content

Commit

Permalink
Merge pull request #36 from maticnetwork/dev
Browse files Browse the repository at this point in the history
Fix for error on setting app name
  • Loading branch information
sshrihar authored Mar 20, 2024
2 parents c4716db + 3a55ea0 commit 8a0a7ff
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 8a0a7ff

Please sign in to comment.