Skip to content

Commit

Permalink
refactor: Remove unused code and configurations from Azure deployment…
Browse files Browse the repository at this point in the history
… workflow
  • Loading branch information
Raj committed Aug 6, 2024
1 parent ce94c97 commit 98aad27
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 39 deletions.
17 changes: 0 additions & 17 deletions infra/azuredeploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,6 @@ resource staticSite 'Microsoft.Web/staticSites@2023-01-01' = {
name: staticSites_name
location: 'East Asia'
sku: {
name: 'Free'
tier: 'Free'
}
properties: {
repositoryUrl: 'https://github.com/raj-oo8/github-services'
branch: 'main'
stagingEnvironmentPolicy: 'Enabled'
allowConfigFileUpdates: true
provider: 'GitHub'
enterpriseGradeCdnStatus: 'Disabled'
}
}

resource staticSiteBasicAuth 'Microsoft.Web/staticSites/basicAuth@2023-01-01' = {
parent: staticSite
name: 'default'
properties: {
applicableEnvironmentsMode: 'SpecifiedEnvironments'
}
}
22 changes: 0 additions & 22 deletions infra/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,36 +7,14 @@
"type": "String"
}
},
"variables": {},
"resources": [
{
"type": "Microsoft.Web/staticSites",
"apiVersion": "2023-01-01",
"name": "[parameters('staticSites_name')]",
"location": "East Asia",
"sku": {
"name": "Free",
"tier": "Free"
},
"properties": {
"repositoryUrl": "https://github.com/raj-oo8/github-services",
"branch": "main",
"stagingEnvironmentPolicy": "Enabled",
"allowConfigFileUpdates": true,
"provider": "GitHub",
"enterpriseGradeCdnStatus": "Disabled"
}
},
{
"type": "Microsoft.Web/staticSites/basicAuth",
"apiVersion": "2023-01-01",
"name": "[concat(parameters('staticSites_name'), '/default')]",
"location": "East Asia",
"dependsOn": [
"[resourceId('Microsoft.Web/staticSites', parameters('staticSites_name'))]"
],
"properties": {
"applicableEnvironmentsMode": "SpecifiedEnvironments"
}
}
]
Expand Down

0 comments on commit 98aad27

Please sign in to comment.