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: docs/content/docs/1.getting-started/3.deploy.md
+17-14
Original file line number
Diff line number
Diff line change
@@ -17,8 +17,25 @@ The [NuxtHub Admin](https://admin.hub.nuxt.com) is made to simplify your experie
17
17
2. Connect your Cloudflare account by clicking on `Create a new token with required permissions` and follow the instructions
18
18
3. You are now ready to deploy your Nuxt project to your Cloudflare account!
19
19
20
+
### Cloudflare Pages CI
21
+
22
+
It is possible to use [Cloudflare Pages CI](https://pages.cloudflare.com) to deploy your project by connecting your GitHub or GitLab account. Once your repository is connected, each commit will trigger a new deployment.
23
+
24
+
1. Open the [NuxtHub Admin](https://admin.hub.nuxt.com)
25
+
2. Click on `New Project` then `Import a GitHub repository`
26
+
6. Select your Github repository
27
+
7. Click on `Import repository`
28
+
29
+
::tip
30
+
That's it! NuxtHub will automatically configure the necessary resources and environment variables for you start a deployment on Cloudflare.
31
+
::
32
+
20
33
### NuxtHub CLI
21
34
35
+
::warning
36
+
If you do your first deployment with the NuxtHub CLI, you won't be able to attach your GitHub/GitLab repository later on due to a Cloudflare limitation.
37
+
::
38
+
22
39
You can deploy your local project with a single command:
23
40
24
41
```bash [Terminal]
@@ -35,20 +52,6 @@ The command will:
35
52
::note
36
53
You can also install the [NuxtHub CLI](https://github.com/nuxt-hub/cli) globally with: `npm i -g nuxthub`.
37
54
::
38
-
39
-
### Cloudflare Pages CI
40
-
41
-
It is possible to use [Cloudflare Pages CI](https://pages.cloudflare.com) to deploy your project by connecting your GitHub or GitLab account. Once your repository is connected, each commit will trigger a new deployment.
42
-
43
-
1. Open the [NuxtHub Admin](https://admin.hub.nuxt.com)
44
-
2. Click on `New Project` then `Import a GitHub repository`
45
-
6. Select your Github repository
46
-
7. Click on `Import repository`
47
-
48
-
::tip
49
-
That's it! NuxtHub will automatically configure the necessary resources and environment variables for you start a deployment on Cloudflare.
50
-
::
51
-
52
55
## Self-hosted
53
56
54
57
You can deploy your project on your own Cloudflare account without using the NuxtHub Admin.
0 commit comments