Skip to content

Commit 98584fe

Browse files
authored
Merge pull request #206838 from craigshoemaker/swa/quickstart-review
[Static Web Apps] Quickstart edits
2 parents bd6bc51 + 6f91bb5 commit 98584fe

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

articles/static-web-apps/get-started-cli.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,30 @@ services: static-web-apps
55
author: craigshoemaker
66
ms.service: static-web-apps
77
ms.topic: quickstart
8-
ms.date: 11/17/2021
8+
ms.date: 08/03/2022
99
ms.author: cshoe
1010
ms.custom: mode-api, devx-track-azurecli
1111
ms.devlang: azurecli
1212
---
1313

1414
# Quickstart: Building your first static site using the Azure CLI
1515

16-
Azure Static Web Apps publishes a website to a production environment by building apps from a GitHub repository. In this quickstart, you deploy a web application to Azure Static Web apps using the Azure CLI.
16+
Azure Static Web Apps publishes websites to production by building apps from a code repository.
1717

18-
If you don't have an Azure subscription, [create a free trial account](https://azure.microsoft.com/free).
18+
In this quickstart, you deploy a web application to Azure Static Web apps using the Azure CLI.
1919

2020
## Prerequisites
2121

2222
- [GitHub](https://github.com) account
23-
- [Azure](https://portal.azure.com) account
23+
- [Azure](https://portal.azure.com) account.
24+
- If you don't have an Azure subscription, you can [create a free trial account](https://azure.microsoft.com/free).
2425
- [Azure CLI](/cli/azure/install-azure-cli) installed (version 2.29.0 or higher)
2526

2627
[!INCLUDE [create repository from template](../../includes/static-web-apps-get-started-create-repo.md)]
2728

28-
## Create a static web app
29+
## Deploy a static web app
2930

30-
Now that the repository is created, you can create a static web app from the Azure CLI.
31+
Now that the repository is generated from the template, you can deploy the app as a static web app from the Azure CLI.
3132

3233
1. Sign in to the Azure CLI by using the following command.
3334

@@ -45,13 +46,13 @@ Now that the repository is created, you can create a static web app from the Azu
4546
4647
1. Create a variable to hold your GitHub user name.
4748
49+
Before you execute the following command, replace the placeholder `<YOUR_GITHUB_USER_NAME>` with your GitHub user name.
50+
4851
```bash
4952
GITHUB_USER_NAME=<YOUR_GITHUB_USER_NAME>
5053
```
5154
52-
Replace the placeholder `<YOUR_GITHUB_USER_NAME>` with your GitHub user name.
53-
54-
1. Create a new static web app from your repository.
55+
1. Deploy a new static web app from your repository.
5556
5657
# [No Framework](#tab/vanilla-javascript)
5758
@@ -127,7 +128,7 @@ Now that the repository is created, you can create a static web app from the Azu
127128
> [!IMPORTANT]
128129
> The URL passed to the `--source` parameter must not include the `.git` suffix.
129130
130-
As you execute this command, the CLI starts GitHub interactive login experience. Look for a line in your console that resembles the following message.
131+
As you execute this command, the CLI starts the GitHub interactive log in experience. Look for a line in your console that resembles the following message.
131132
132133
> Please navigate to `https://github.com/login/device` and enter the user code 329B-3945 to activate and retrieve your GitHub personal access token.
133134
@@ -141,7 +142,7 @@ Now that the repository is created, you can create a static web app from the Azu
141142
142143
## View the website
143144
144-
There are two aspects to deploying a static app. The first operation creates the underlying Azure resources that make up your app. The second is a GitHub Actions workflow that builds and publishes your application.
145+
There are two aspects to deploying a static app. The first operation creates the underlying Azure resources that make up your app. The second is a workflow that builds and publishes your application.
145146
146147
Before you can navigate to your new static site, the deployment build must first finish running.
147148
@@ -155,7 +156,7 @@ Before you can navigate to your new static site, the deployment build must first
155156
156157
The output of this command returns the URL to your GitHub repository.
157158
158-
1. Copy the **repository URL** and paste it into the browser.
159+
1. Copy the **repository URL** and paste it into your browser.
159160
160161
1. Select the **Actions** tab.
161162
@@ -171,7 +172,7 @@ Before you can navigate to your new static site, the deployment build must first
171172
--query "defaultHostname"
172173
```
173174
174-
Copy the URL into the browser and navigate to your website.
175+
Copy the URL into your browser to navigate to your website.
175176
176177
## Clean up resources
177178

includes/static-web-apps-get-started-create-repo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.author: cshoe
88

99
## Create a repository
1010

11-
This article uses a GitHub template repository to make it easy for you to get started. The template features a starter app used to deploy using Azure Static Web Apps.
11+
This article uses a GitHub template repository to make it easy for you to get started. The template features a starter app to deploy to Azure Static Web Apps.
1212

1313
# [No Framework](#tab/vanilla-javascript)
1414

0 commit comments

Comments
 (0)