Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add deploy to Zeabur as one command deployment #2052

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions source/docs/one-command-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,30 @@ Alternatively, you can click the deploy button below to create a new project:

[![Deploy To Edgio](https://docs.edg.io/button.svg)](https://app.layer0.co/deploy?repo=https%3A%2F%2Fgithub.com%2Fedgio-docs%2Fedgio-hexo-example)

## Zeabur

[Zeabur](https://zeabur.com) is a cloud platform helps developers to deploy their services with one click, with auto scalling and CI/CD integration and some other features.

Step 1: Add a `build` script to your `package.json` file if doesn't exist:

```json
{
"scripts": {
"build": "hexo generate"
}
}
```

Step 2: Deploy your Hexo Site to Zeabur

To deploy your Hexo site to Zeabur, you need a Git repository to save your hexo site codes and files, make sure is has been pushed to a Git repository. (Zeabur only support GitHub now)

Open [Zeabur Dashboard](https://dash.zeabur.com), follow the [create a new service instructions](https://zeabur.com/docs/get-started) and select your Hexo repository, then click the `Deploy` button.

Zeabur will automatically detect your site is a Hexo site. After deployment, you can just push updates to your Git repository, and Zeabur will automatically deploy the updates.

[![Deploy on Zeabur](https://zeabur.com/button.svg)](https://zeabur.com/templates/D27F35)

## Other Methods

All generated files are saved in the `public` folder. You can copy them to wherever you like.
Expand Down