Skip to content

Commit 13c3163

Browse files
Merge pull request #8 from workcontrolgit/develop
Fix deploy-infra: expose SQL_ADMIN_PASSWORD for bicepparam
2 parents f811b94 + 37b917b commit 13c3163

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy-infra.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838

3939
- name: Deploy Bicep
4040
env:
41-
SQL_PASSWORD: ${{ secrets.SQL_ADMIN_PASSWORD }}
41+
# readEnvironmentVariable('SQL_ADMIN_PASSWORD') in dev.bicepparam reads this
42+
SQL_ADMIN_PASSWORD: ${{ secrets.SQL_ADMIN_PASSWORD }}
4243
run: |
4344
az deployment group create \
4445
--resource-group ${{ env.RESOURCE_GROUP }} \
4546
--template-file ${{ env.BICEP_FILE }} \
4647
--parameters ${{ env.PARAMS_FILE }} \
47-
--parameters sqlAdminPassword="$SQL_PASSWORD" \
4848
--output json

0 commit comments

Comments
 (0)