Skip to content

Commit e9ecf1f

Browse files
committed
docs: add deploy button changelog
1 parent ca132e7 commit e9ecf1f

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: Deploy to NuxtHub button
3+
description: "The Deploy to NuxtHub button allows you to deploy a GitHub template directly from the NuxtHub Admin."
4+
date: 2024-07-22
5+
image: '/images/changelog/deploy-button.png'
6+
category: Template
7+
authors:
8+
- name: Sebastien Chopin
9+
avatar:
10+
src: https://avatars.githubusercontent.com/u/904724?v=4
11+
to: https://x.com/atinux
12+
username: atinux
13+
- name: Ahad Birang
14+
avatar:
15+
src: https://avatars.githubusercontent.com/u/2047945?v=4
16+
to: https://x.com/a_birang
17+
username: a_birang
18+
---
19+
20+
We are glad to introduce the "Deploy to NuxtHub" to deploy any Nuxt template made by the community with a single click.
21+
22+
It is designed to be used in the README of a GitHub repository, documentations or any other place where you want to allow users to deploy your project with one click.
23+
24+
:nuxt-img{src="/images/changelog/deploy-button.png" alt="NuxtHub Deploy Button" width="915" height="515"}
25+
26+
## Deploy Button
27+
28+
1. The image of the button is on `https://hub.nuxt.com/button.svg`
29+
2. The link to deploy the project is `https://hub.nuxt.com/new?repo=ORG/REPO` (replace `ORG/REPO` with your GitHub repository)
30+
3. Your repository must be public and marked as "Template repository" on GitHub
31+
32+
To use the button, you need to add the following markdown to your README:
33+
34+
::code-group
35+
36+
```md [Markdown]
37+
[![Deploy to NuxtHub](https://hub.nuxt.com/button.svg)](https://hub.nuxt.com/new?repo=ORG/REPO)
38+
```
39+
40+
```html [HTML]
41+
<a href="https://hub.nuxt.com/new?repo=ORG/REPO"><img src="https://hub.nuxt.com/button.svg" alt="Deploy to NuxtHub"></a>
42+
```
43+
44+
::
45+
46+
You can see an example of the button in action in the [Instadraw repository](https://github.com/atinux/instadraw).
259 KB
Loading

0 commit comments

Comments
 (0)