Skip to content

Commit b46e268

Browse files
Refactor environment variable assignment in deployment workflow for clarity
1 parent 5f9df75 commit b46e268

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy-aca-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ jobs:
119119
ingress: external
120120
targetPort: 5209
121121
environmentVariables: |
122-
CorsAllowedHosts=$(if [ ${{ env.CLIENT_CONTAINER_URL }} == '' ]; then echo "*"; else echo "https://${{ env.CLIENT_CONTAINER_URL }}"; fi)
123-
AppConfig__Endpoint=${{ secrets.APP_CONFIG_URL }}
122+
CorsAllowedHosts=$(if [ ${{ env.CLIENT_CONTAINER_URL }} == '' ]; then echo "*"; else echo "https://${{ env.CLIENT_CONTAINER_URL }}"; fi) \
123+
AppConfig__Endpoint=${{ secrets.APP_CONFIG_URL }} \
124124
ASPNETCORE_ENVIRONMENT=Staging
125125
#- name: Deploy to containerapp
126126
# uses: azure/CLI@v1

0 commit comments

Comments
 (0)