Skip to content

Commit 89f5cfd

Browse files
Merge pull request #275659 from craigshoemaker/swa/update/portal-qs
[Static Web Apps] Update: Portal quickstart
2 parents c517361 + 39a08c4 commit 89f5cfd

File tree

1 file changed

+31
-30
lines changed

1 file changed

+31
-30
lines changed

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

Lines changed: 31 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn to deploy a static site to Azure Static Web Apps with the Azu
44
services: static-web-apps
55
author: craigshoemaker
66
ms.author: cshoe
7-
ms.date: 09/19/2022
7+
ms.date: 05/17/2024
88
ms.topic: quickstart
99
ms.service: static-web-apps
1010
zone_pivot_groups: devops-or-github
@@ -56,25 +56,25 @@ This article uses an Azure DevOps repository to make it easy for you to get star
5656
8. Copy a repository URL for the framework of your choice, and paste it into the *Clone URL* box.
5757

5858
# [No Framework](#tab/vanilla-javascript)
59-
59+
6060
[https://github.com/staticwebdev/vanilla-basic.git](https://github.com/staticwebdev/vanilla-basic.git)
61-
61+
6262
# [Angular](#tab/angular)
63-
63+
6464
[https://github.com/staticwebdev/angular-basic.git](https://github.com/staticwebdev/angular-basic.git)
65-
65+
6666
# [Blazor](#tab/blazor)
67-
67+
6868
[https://github.com/staticwebdev/blazor-basic.git](https://github.com/staticwebdev/blazor-basic.git)
69-
69+
7070
# [React](#tab/react)
71-
71+
7272
[https://github.com/staticwebdev/react-basic.git](https://github.com/staticwebdev/react-basic.git)
73-
73+
7474
# [Vue](#tab/vue)
75-
75+
7676
[https://github.com/staticwebdev/vue-basic.git](https://github.com/staticwebdev/vue-basic.git)
77-
77+
7878
---
7979

8080
9. Select **Import** and wait for the import process to complete.
@@ -95,8 +95,6 @@ Now that the repository is created, you can create a static web app from the Azu
9595

9696
In the _Basics_ section, begin by configuring your new app and linking it to a GitHub repository.
9797

98-
:::image type="content" source="media/getting-started-portal/quickstart-portal-basics.png" alt-text="Basics section":::
99-
10098
| Setting | Value |
10199
|--|--|
102100
| Subscription | Select your Azure subscription. |
@@ -105,21 +103,21 @@ In the _Basics_ section, begin by configuring your new app and linking it to a G
105103
| Plan type | Select **Free**. |
106104
| Source | Select **GitHub** and sign in to GitHub if necessary. |
107105

108-
Select **Sign-in with GitHub** and authenticate with GitHub.
109-
110-
After you sign in with GitHub, enter the repository information.
106+
If necessary sign in with GitHub, and enter the following repository information.
111107

112108
| Setting | Value |
113109
|--|--|
114110
| Organization | Select your organization. |
115111
| Repository| Select **my-first-web-static-app**. |
116-
| Branch | Select **<branch_name>**. |
112+
| Branch | Select **main**. |
117113

118114
:::image type="content" source="media/getting-started-portal/quickstart-portal-source-control.png" alt-text="Repository details":::
119115

120116
> [!NOTE]
121-
> If you don't see any repositories:
117+
> If you don't see a list of repositories:
118+
>
122119
> - You may need to authorize Azure Static Web Apps in GitHub. Browse to your GitHub profile and go to **Settings > Applications > Authorized OAuth Apps**, select **Azure Static Web Apps**, and then select **Grant**.
120+
>
123121
> - You may need to authorize Azure Static Web Apps in your Azure DevOps organization. You must be an owner of the organization to grant the permissions. Request third-party application access via OAuth. For more information, see [Authorize access to REST APIs with OAuth 2.0](/azure/devops/integrate/get-started/authentication/oauth).
124122
125123
::: zone-end
@@ -134,11 +132,12 @@ In the _Basics_ section, begin by configuring your new app and linking it to an
134132
| Resource Group | Select the **Create new** link, and enter **static-web-apps-test** in the textbox. |
135133
| Name | Enter **my-first-static-web-app** in the textbox. |
136134
| Plan type | Select **Free**. |
137-
| Source | Select **DevOps**. |
135+
| Azure Functions and staging details | Select a region closest to you. |
136+
| Source | Select **Azure DevOps**. |
138137
| Organization | Select your organization. |
139138
| Project | Select your project. |
140139
| Repository| Select **my-first-web-static-app**. |
141-
| Branch | Select **<branch_name>**. |
140+
| Branch | Select **main**. |
142141

143142
> [!NOTE]
144143
> Make sure the branch you are using is not protected, and that you have sufficient permissions to issue a `push` command. To verify, browse to your DevOps repository and go to **Repos** -> **Branches** and select **More options**. Next, select your branch, and then **Branch policies** to ensure required policies aren't enabled.
@@ -149,35 +148,35 @@ In the _Build Details_ section, add configuration details specific to your prefe
149148

150149
# [No Framework](#tab/vanilla-javascript)
151150

152-
1. Select **Custom** from the _Build Presets_ dropdown.
153-
1. Type **./src** in the _App location_ box.
151+
1. From the _Build Presets_ dropdown, select **Custom**.
152+
1. In the _App location_ box, enter **./src**.
154153
1. Leave the _Api location_ box empty.
155-
1. Type **./src** _App artifact location_ box.
154+
1. In the _Output location_ box, enter **./src**.
156155

157156
# [Angular](#tab/angular)
158157

159-
1. Select **Angular** from the _Build Presets_ dropdown.
158+
1. From the _Build Presets_ dropdown, select **Angular**.
160159
1. Keep the default value in the _App location_ box.
161160
1. Leave the _Api location_ box empty.
162-
1. Type **dist/angular-basic** in the _App artifact location_ box.
161+
1. In the _Output location_ box, enter **dist/angular-basic**.
163162

164163
# [Blazor](#tab/blazor)
165164

166-
1. Select **Blazor** from the _Build Presets_ dropdown.
165+
1. From _Build Presets_ dropdown, select **Blazor**.
167166
1. Keep the default value of **Client** in the _App location_ box.
168167
1. Leave the _Api location_ box empty.
169-
1. Keep the default value of **wwwroot** in the _App artifact location_ box.
168+
1. Keep the default value of **wwwroot** in the _Output location_ box.
170169

171170
# [React](#tab/react)
172171

173-
1. Select **React** from the _Build Presets_ dropdown.
172+
1. From the _Build Presets_ dropdown, select **React**.
174173
1. Keep the default value in the _App location_ box.
175174
1. Leave the _Api location_ box empty.
176-
1. Type **build** in the _App artifact location_ box.
175+
1. In the _Output location_ box, enter **build**.
177176

178177
# [Vue](#tab/vue)
179178

180-
1. Select **Vue.js** from the _Build Presets_ dropdown.
179+
1. From the _Build Presets_ dropdown, select **Vue.js**.
181180
1. Keep the default value in the _App location_ box.
182181
1. Leave the _Api location_ box empty.
183182
1. Keep the default value in the _App artifact location_ box.
@@ -186,6 +185,8 @@ In the _Build Details_ section, add configuration details specific to your prefe
186185

187186
Select **Review + create**.
188187

188+
Select **Create**.
189+
189190
:::image type="content" source="media/getting-started-portal/review-create.png" alt-text="Review and create your Azure Static Web Apps instance.":::
190191

191192
::: zone pivot="github"

0 commit comments

Comments
 (0)