Skip to content

Commit

Permalink
fix: create env var directly
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-20 committed Jan 16, 2025
1 parent 06f8fe8 commit 3581c8e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build-and-deploy-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,13 @@ jobs:
echo "TARGET_ENVIRONMENT_UPPER=${TARGET_ENVIRONMENT^^}" >> ${GITHUB_ENV}
echo "CONTAINER_INSTANCE_BASE_NAME=aci-${APP_NAME}" >> ${GITHUB_ENV}
echo "RESOURCE_GROUP_BASE_NAME=rg-${APP_NAME}" >> ${GITHUB_ENV}
echo "APP_NAME_NO_HYPHENS=${APP_NAME//-/}" >> ${GITHUB_ENV}
echo "STORAGE_ACCOUNT_NAME=sa${APP_NAME_NO_HYPHENS}$TARGET_ENVIRONMENT" >> ${GITHUB_ENV}
echo "STORAGE_ACCOUNT_NAME=sa${APP_NAME//-/}$TARGET_ENVIRONMENT" >> ${GITHUB_ENV}
- name: 'Print calculated environment variables'
run: |
echo $TARGET_ENVIRONMENT_UPPER
echo $CONTAINER_INSTANCE_BASE_NAME
echo $RESOURCE_GROUP_BASE_NAME
echo $APP_NAME_NO_HYPHENS
echo $STORAGE_ACCOUNT_NAME
- name: 'Checkout GitHub Action'
Expand Down

0 comments on commit 3581c8e

Please sign in to comment.