Skip to content

Commit

Permalink
Update env variable value for app for prod deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
sshrihar committed Mar 20, 2024
1 parent 2c2f2b4 commit 598269a
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 @@ -17,8 +17,6 @@ jobs:
contents: write
environment: ${{ inputs.environment }}
runs-on: ubuntu-latest
env:
APP_NAME: ${{ inputs.core_app_name }}-${{ inputs.environment }}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -42,6 +40,11 @@ jobs:
;;
esac
- 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
- name: Create taskdef file dynamically using parameters passed
run: |
export PIPENV_PIPFILE=.github/taskdefinition_template/Pipfile
Expand Down

0 comments on commit 598269a

Please sign in to comment.