Working deployment to appservice
This commit is contained in:
@@ -14,10 +14,10 @@
|
||||
},
|
||||
"variables": {
|
||||
"environment": "[toLower(parameters('environment'))]",
|
||||
"prefix": "[concat('safe-', variables('environment'))]",
|
||||
"prefix": "[concat('lunchrun-', variables('environment'))]",
|
||||
"appServicePlan": "[concat(variables('prefix'), '-web-host')]",
|
||||
"web": "[concat(variables('prefix'), '-web')]",
|
||||
"storage": "[concat('safe', variables('environment'), 'storage')]",
|
||||
"storage": "[concat('lunchrun', variables('environment'), 'storage')]",
|
||||
"insights": "[concat(variables('prefix'), '-insights')]"
|
||||
},
|
||||
"resources": [
|
||||
|
||||
@@ -132,7 +132,7 @@ let mutable deploymentOutputs : ArmOutput option = None
|
||||
Target.create "ArmTemplate" (fun _ ->
|
||||
let environment = Environment.environVarOrDefault "environment" (Guid.NewGuid().ToString().ToLower().Split '-' |> Array.head)
|
||||
let armTemplate = @"arm-template.json"
|
||||
let resourceGroupName = "safe-" + environment
|
||||
let resourceGroupName = "lunchrun-" + environment
|
||||
|
||||
let authCtx =
|
||||
// You can safely replace these with your own subscription and client IDs hard-coded into this script.
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
version 5.216.0
|
||||
group Server
|
||||
source https://api.nuget.org/v3/index.json
|
||||
framework: netcoreapp2.2
|
||||
|
||||
Reference in New Issue
Block a user