Skip to content

Commit

Permalink
fix(iac): variable api url
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhi Markan committed May 12, 2023
1 parent 47ed3bb commit 78770af
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/infrastructure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,9 @@ jobs:
# UI
az webapp config appsettings set \
--name app-${{ env.PRODUCT }}-ui-${{ env.TARGET }}-${{ vars.VERSION }} \
--settings HTTPS=1 \
--settings \
#TODO: Set to `1` once SSL is enabled
HTTPS=0 \
WEBSITE_DNS_SERVER='${{ vars.WEBSITE_DNS_SERVER }}' \
WEBSITE_VNET_ROUTE_ALL=1 \
SESSION_SECRET='${{ secrets.SESSION_SECRET }}' \
Expand All @@ -320,7 +322,7 @@ jobs:
# API
az webapp config appsettings set \
--name app-${{ env.PRODUCT }}-api-${{ env.TARGET }}-${{ vars.VERSION }} \
--settings HTTPS=1 \
--settings \
WEBSITE_DNS_SERVER=${{ vars.WEBSITE_DNS_SERVER }} \
WEBSITE_VNET_ROUTE_ALL=1 \
DATABASE_URL='${{ secrets.DATABASE_URL }}' \
Expand Down

0 comments on commit 78770af

Please sign in to comment.