fix azuredeploy

This commit is contained in:
sbwalker 2025-04-01 11:03:46 -04:00
parent f706ccfd87
commit af48a48559

View File

@ -231,15 +231,34 @@
// -------------------------------------------------- // --------------------------------------------------
// ZIP Deploy // ZIP Deploy
// -------------------------------------------------- // --------------------------------------------------
"type": "Microsoft.Web/sites/extensions", {
"apiVersion": "2024-04-01", "type": "Microsoft.Web/sites/extensions",
"name": "[concat(parameters('BlazorWebsiteName'), '/ZipDeploy')]", "apiVersion": "2024-04-01",
"properties": { "name": "[concat(parameters('BlazorWebsiteName'), '/ZipDeploy')]",
"packageUri": "https://github.com/oqtane/oqtane.framework/releases/download/v6.1.1/Oqtane.Framework.6.1.1.Install.zip" "properties": {
"packageUri": "https://github.com/oqtane/oqtane.framework/releases/download/v6.1.1/Oqtane.Framework.6.1.1.Install.zip"
},
"dependsOn": [
"[resourceId('Microsoft.Web/sites', parameters('BlazorWebsiteName'))]"
]
}, },
"dependsOn": [ // --------------------------------------------------
"[resourceId('Microsoft.Web/sites', parameters('BlazorWebsiteName'))]" // Connection Strings
] // --------------------------------------------------
{
"type": "config",
"apiVersion": "2022-03-01",
"name": "connectionstrings",
"dependsOn": [
"[resourceId('Microsoft.Web/sites', parameters('BlazorWebsiteName'))]"
],
"properties": {
"DefaultConnection": {
"value": "[concat('Data Source=tcp:', reference(resourceId('Microsoft.Sql/servers', parameters('sqlServerName'))).fullyQualifiedDomainName, ',1433;Initial Catalog=', parameters('sqlDatabaseName'), ';User Id=', parameters('sqlAdministratorLogin'), '@', reference(resourceId('Microsoft.Sql/servers', parameters('sqlServerName'))).fullyQualifiedDomainName, ';Password=', parameters('sqlAdministratorLoginPassword'), ';')]",
"type": "SQLAzure"
}
}
}
] ]
} }
] ]