Skip to content

Commit 7d4f896

Browse files
[Pages] Update UI instructions (cloudflare#20894)
* [Pages] Update UI instructions * few more * typo * Update src/content/partials/pages/deploy-to-pages-steps-with-preset.mdx Co-authored-by: ToriLindsay <[email protected]> --------- Co-authored-by: ToriLindsay <[email protected]>
1 parent cdd2088 commit 7d4f896

31 files changed

+101
-155
lines changed

src/content/docs/pages/framework-guides/deploy-a-blazor-site.mdx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,7 @@ dotnet new gitignore
5050

5151
## Deploy with Cloudflare Pages
5252

53-
To deploy your site to Pages:
54-
55-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
56-
2. In Account Home, select **Workers & Pages**.
57-
3. Select **Create application** > **Pages** > **Connect to Git**.
58-
59-
Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, provide the following information:
53+
<Render file="deploy-to-pages-steps-no-preset" />
6054

6155
<div>
6256

src/content/docs/pages/framework-guides/deploy-a-brunch-site.mdx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,7 @@ brunch new proj -s es6
2929

3030
## Deploy with Cloudflare Pages
3131

32-
To deploy your site to Pages:
33-
34-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
35-
2. In Account Home, select **Workers & Pages** > **Create application** > **Pages** > **Connect to Git**.
36-
3. Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, select _Brunch_ as your **Framework preset**. Your selection will provide the following information.
32+
<Render file="deploy-to-pages-steps-with-preset" params={{ name: "Brunch" }} />
3733

3834
<PagesBuildPreset framework="brunch" />
3935

src/content/docs/pages/framework-guides/deploy-a-docusaurus-site.mdx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ To use `create-cloudflare` to create a new Docusaurus project, run the following
3131

3232
### Deploy via the Cloudflare dashboard
3333

34-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
35-
2. In Account Home, select **Workers & Pages** > **Create application** > **Pages** > **Connect to Git**.
36-
3. Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, select _Docusaurus_ as your **Framework preset**. Your selection will provide the following information.
34+
<Render
35+
file="deploy-to-pages-steps-with-preset"
36+
params={{ name: "Docusarus" }}
37+
/>
3738

3839
<PagesBuildPreset framework="docusaurus" />
3940

src/content/docs/pages/framework-guides/deploy-a-gatsby-site.mdx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,7 @@ npx gatsby new my-gatsby-site https://github.com/alxshelepenok/gatsby-starter-lu
2929

3030
## Deploy with Cloudflare Pages
3131

32-
To deploy your site to Pages:
33-
34-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
35-
2. In Account Home, select **Workers & Pages** > **Create application** > **Pages** > **Connect to Git**.
36-
3. Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, provide the following information:
32+
<Render file="deploy-to-pages-steps-with-preset" params={{ name: "Gatsby" }} />
3733

3834
<PagesBuildPreset framework="gatsby" />
3935

src/content/docs/pages/framework-guides/deploy-a-gridsome-site.mdx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ npx gridsome create my-gridsome-website
3131

3232
To deploy your site to Pages:
3333

34-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
35-
2. In Account Home, select **Workers & Pages** > **Create application** > **Pages** > **Connect to Git**.
36-
3. Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, the following information will be provided:
34+
<Render
35+
file="deploy-to-pages-steps-with-preset"
36+
params={{ name: "Gridsome" }}
37+
/>
3738

3839
<PagesBuildPreset framework="gridsome" />
3940

src/content/docs/pages/framework-guides/deploy-a-hexo-site.mdx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,7 @@ Inside of `hello-hexo.md`, use Markdown to write the content of the article. You
5252

5353
## Deploy with Cloudflare Pages
5454

55-
To deploy your site to Pages:
56-
57-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
58-
2. In Account Home, select **Workers & Pages** > **Create application** > **Pages** > **Connect to Git**.
59-
3. Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, provide the following information:
55+
<Render file="deploy-to-pages-steps-no-preset" />
6056

6157
<div>
6258

src/content/docs/pages/framework-guides/deploy-a-hono-site.mdx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
TabItem,
1313
Tabs,
1414
PackageManagers,
15-
Stream,
15+
Stream,
1616
} from "~/components";
1717

1818
[Hono](https://honojs.dev/) is a small, simple, and ultrafast web framework for Cloudflare Pages and Workers, Deno, and Bun. Learn more about the creation of Hono by [watching an interview](#creator-interview) with its creator, [Yusuke Wada](https://yusu.ke/).
@@ -116,9 +116,7 @@ You should be able to review your generated web application at `http://localhost
116116

117117
### Deploy via the Cloudflare dashboard
118118

119-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
120-
2. In Account Home, select **Workers & Pages** > **Create application** > **Pages** > **Connect to Git**.
121-
3. Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, provide the following information:
119+
<Render file="deploy-to-pages-steps-no-preset" />
122120

123121
<div>
124122

@@ -161,4 +159,8 @@ For demo applications using Hono and Cloudflare Pages, refer to the following re
161159

162160
### Creator Interview
163161

164-
<Stream id="db240ef1d351915849151242ec0c5f1c" title="DevTalk Episode 01 Hono" thumbnail="5s" />
162+
<Stream
163+
id="db240ef1d351915849151242ec0c5f1c"
164+
title="DevTalk Episode 01 Hono"
165+
thumbnail="5s"
166+
/>

src/content/docs/pages/framework-guides/deploy-a-hugo-site.mdx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,7 @@ Inside of `hello-world.md`, add some initial content to create your post. Remove
9191

9292
## Deploy with Cloudflare Pages
9393

94-
To deploy your site to Pages:
95-
96-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
97-
2. In Account Home, select **Workers & Pages** > **Create application** > **Pages** > **Connect to Git**.
98-
3. Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, provide the following information:
94+
<Render file="deploy-to-pages-steps-with-preset" params={{ name: "Hugo" }} />
9995

10096
<PagesBuildPreset framework="hugo" />
10197

src/content/docs/pages/framework-guides/deploy-a-jekyll-site.mdx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,7 @@ If you are migrating an existing Jekyll project to Pages, confirm that your `Gem
6262

6363
## Deploy with Cloudflare Pages
6464

65-
To deploy your site to Pages:
66-
67-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
68-
2. In Account Home, select **Workers & Pages** > **Create application** > **Pages** > **Connect to Git**.
69-
3. Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, provide the following information:
65+
<Render file="deploy-to-pages-steps-with-preset" params={{ name: "Jekyll" }} />
7066

7167
<PagesBuildPreset framework="jekyll" />
7268

src/content/docs/pages/framework-guides/deploy-a-nuxt-site.mdx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ In this guide, you will create a new Nuxt application and deploy it using Cloudf
2222

2323
### Video Tutorial
2424

25-
<Stream id="fd106a56e13af42eb39b35c499432e4b" title="Deploy a Nuxt Application to Cloudflare" thumbnail="2.5s" />
25+
<Stream
26+
id="fd106a56e13af42eb39b35c499432e4b"
27+
title="Deploy a Nuxt Application to Cloudflare"
28+
thumbnail="2.5s"
29+
/>
2630

2731
## Create a new project using the `create-cloudflare` CLI (C3)
2832

@@ -74,12 +78,7 @@ git push -u origin main
7478

7579
### Create a Pages project
7680

77-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
78-
2. Go to **Workers & Pages** > **Create application** > **Pages** > **Connect to Git** and create a new Pages project.
79-
80-
You will be asked to authorize access to your GitHub account if you have not already done so. Cloudflare needs this so that it can monitor and deploy your projects from the source. You may narrow access to specific repositories if you prefer; however, you will have to manually update this list [within your GitHub settings](https://github.com/settings/installations) when you want to add more repositories to Cloudflare Pages.
81-
82-
3. Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, provide the following information:
81+
<Render file="deploy-to-pages-steps-with-preset" params={{ name: "Nuxt.js" }} />
8382

8483
<PagesBuildPreset framework="nuxt-js" />
8584

0 commit comments

Comments
 (0)