You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ An [Azure Subscription](https://azure.microsoft.com/en-us/pricing/purchase-optio
7
7
8
8
## Deploy infrastructure from CLI
9
9
10
-
You can deploy a minimal infrastructure to host the CSS using the Azure CLI and the arm template in `./infrastructure/template.json` ([install Azure CLI](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli)).
10
+
You can deploy a minimal infrastructure to host the CSS using the [Azure CLI](https://learn.microsoft.com/en-us/cli/azure/) and the arm template in `./infrastructure/template.json` ([install Azure CLI](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli)).
11
11
12
12
You'll need to choose a [resource group](https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/overview#resource-groups) name and a [location](https://learn.microsoft.com/en-us/azure/reliability/regions-list#azure-regions-list-1).
13
13
@@ -37,6 +37,8 @@ az deployment group create --resource-group $CSS_INFRASTRUCTURE_RESOURCE_GROUP_N
37
37
38
38
You'll need a copy of this repository with two [actions secrets set](https://docs.github.com/en/actions/how-tos/write-workflows/choose-what-workflows-do/use-secrets): `AZUREAPPSERVICE_NAME` & `AZUREAPPSERVICE_PUBLISHPROFILE`.
39
39
40
+
You can use the [GitHub CLI](https://cli.github.com/manual/) to set secrets and trigger the workflow ([install GitHub CLI](https://cli.github.com/)).
41
+
40
42
The app service name is the one you set deploying the infrastructure:
41
43
42
44
```zsh
@@ -49,6 +51,10 @@ Retrieve the app service's Publish Profile:
49
51
az webapp deployment list-publishing-profiles --resource-group $CSS_INFRASTRUCTURE_RESOURCE_GROUP_NAME --name ${CSS_INFRASTRUCTURE_DEPLOYMENT_TIME}app --xml
50
52
```
51
53
54
+
```zsh
55
+
gh auth login
56
+
```
57
+
52
58
Then just trigger the Deploy CSS action from GitHub.
53
59
54
60
See also: [Deploy Node.js to Azure App Services](https://docs.github.com/en/actions/how-tos/deploy/deploy-to-third-party-platforms/nodejs-to-azure-app-service).
0 commit comments