Skip to content

Commit 65983dd

Browse files
Improve README
1 parent ee4e524 commit 65983dd

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ An [Azure Subscription](https://azure.microsoft.com/en-us/pricing/purchase-optio
77

88
## Deploy infrastructure from CLI
99

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)).
1111

1212
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).
1313

@@ -37,6 +37,8 @@ az deployment group create --resource-group $CSS_INFRASTRUCTURE_RESOURCE_GROUP_N
3737

3838
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`.
3939

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+
4042
The app service name is the one you set deploying the infrastructure:
4143

4244
```zsh
@@ -49,6 +51,10 @@ Retrieve the app service's Publish Profile:
4951
az webapp deployment list-publishing-profiles --resource-group $CSS_INFRASTRUCTURE_RESOURCE_GROUP_NAME --name ${CSS_INFRASTRUCTURE_DEPLOYMENT_TIME}app --xml
5052
```
5153

54+
```zsh
55+
gh auth login
56+
```
57+
5258
Then just trigger the Deploy CSS action from GitHub.
5359

5460
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

Comments
 (0)