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: articles/static-web-apps/deploy-nextjs.md
+11-6Lines changed: 11 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ In this tutorial, learn to deploy a [Next.js](https://nextjs.org) generated stat
20
20
- A GitHub account. [Create an account for free](https://github.com/join).
21
21
-[Node.js](https://nodejs.org) installed.
22
22
23
-
## Set up a Next.js app
23
+
## 1. Set up a Next.js app
24
24
25
25
Rather than using the Next.js CLI to create your app, you can use a starter repository. The starter repository contains an existing Next.js app that supports dynamic routes.
26
26
@@ -60,12 +60,10 @@ When you select a framework or library, you see a details page about the selecte
Now any changes made to the `main` branch start a new build and deployment of your website.
122
120
123
-
### Sync changes
121
+
## 4. Sync changes
124
122
125
123
When you created the app, Azure Static Web Apps created a GitHub Actions file in your repository. Synchronize with the server by pulling down the latest to your local repository.
126
124
@@ -140,3 +138,10 @@ If you're not going to continue to use this app, you can delete the Azure Static
140
138
141
139
> [!div class="nextstepaction"]
142
140
> [Set up a custom domain](custom-domain.md)
141
+
142
+
## Related articles
143
+
144
+
- [Set up authentication and authorization](authentication-authorization.md)
0 commit comments