File tree Expand file tree Collapse file tree 3 files changed +435
-0
lines changed Expand file tree Collapse file tree 3 files changed +435
-0
lines changed Original file line number Diff line number Diff line change @@ -11,3 +11,45 @@ An existing [App Service on Linux app](https://learn.microsoft.com/en-us/azure/a
1111An Azure Storage account.
1212An Azure file share and directory.
1313
14+
15+ ## Deploy ARM Template from local
16+
17+
18+
19+ ``` bash
20+ az login
21+
22+ az group create --name 182764JH --location " UK South"
23+
24+ az deployment group create --resource-group < resource-group-name> --template-file < path-to-template>
25+
26+ az deployment group create --resource-group 182764JH --template-file ./infrastructure/template.json
27+
28+
29+
30+
31+
32+ az deployment sub create --location < location> --template-file < path-to-template>
33+
34+ az deployment sub create --location " UK South" --template-file ./infrastructure/template.json
35+
36+
37+
38+ ```
39+
40+ GitHub action authenticate for ARM Template deploy.
41+
42+
43+ ## Setup CI
44+
45+ App Service > Configuration > General settings > SCM Basic Auth Publishing > ON
46+
47+ App Service > Overview > Download publish profile
48+
49+ Github > settings > Secrets and variables > Actions > set
50+
51+ AZUREAPPSERVICE_PUBLISHPROFILE
52+
53+ Set
54+
55+ AZUREAPPSERVICE_NAME (using template name)
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#" ,
3+ "contentVersion" : " 1.0.0.0" ,
4+ "parameters" : {
5+ "sites_css_name" : {
6+ "value" : null
7+ },
8+ "serverfarms_css_name" : {
9+ "value" : null
10+ },
11+ "storageAccounts_csstest_name" : {
12+ "value" : null
13+ }
14+ }
15+ }
You can’t perform that action at this time.
0 commit comments