From 3b6bf310761ed538602b4c6e791508b0405113c1 Mon Sep 17 00:00:00 2001 From: Yuanlin Lin Date: Thu, 11 Jan 2024 23:58:42 +0800 Subject: [PATCH 1/2] Add Zeabur deployment guide --- .../documentation/deployment/zeabur.md | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 docs/content/documentation/deployment/zeabur.md diff --git a/docs/content/documentation/deployment/zeabur.md b/docs/content/documentation/deployment/zeabur.md new file mode 100644 index 0000000000..56ab0a6685 --- /dev/null +++ b/docs/content/documentation/deployment/zeabur.md @@ -0,0 +1,63 @@ ++++ +title = "Zeabur" +weight = 50 ++++ + +In this tutorial, we'll guide you through the process of deploying your Zola site onto the [Zeabur](https://zeabur.com). Zeabur provides a seamless deployment experience, with automatic SSL certificates and global-edge network delivery. Let's get started! + +## Prerequisites + +- A Zola site project on your local machine. +- A GitHub account and your Zola site project repository hosted on GitHub. +- A Zeabur account. If you don't have one, sign up at [here](https://zeabur.com/login). + +## Step 1: Create a Project on Zeabur + +1. Log in to your Zeabur account. +2. Navigate to the dashboard and click on the **Create Project** button. +3. Follow the on-screen instructions to set up a new project. + +## Step 2: Push Your Zola Files to GitHub + +1. Initialize a Git repository in your Zola project folder if you haven't already: + + ```bash + git init + git add . + git commit -m "Initial commit" + ``` + +2. Push your Zola project to GitHub: + + ```bash + git remote add origin + git branch -M main + git push -u origin main + ``` + +Replace `` with the URL of your GitHub repository. + +## Step 3: Create a Service on Zeabur + +1. Back in your Zeabur dashboard, click on **Create Service**. +2. Choose the **git** option to connect your GitHub repository. + +## Step 4: Select Your Zola Repository + +1. From the list of repositories, select the repository where your Zola project is located. + +## Step 5: Automatic Deployment + +Zeabur will automatically detect that you're deploying a Zola project and will handle the deployment process for you without any additional configuration needed. + +## Step 6: Domain Binding + +1. Once the deployment is complete, bind a domain name to your service. +2. You can choose to use a free `.zeabur.app` subdomain or bind your own custom domain. +3. Zeabur will automatically provide a free SSL certificate for your domain, ensuring secure browsing for your visitors. + +## Step 7: Your Site is Live! + +Congratulations! Your Zola site is now deployed and live, served through Zeabur's edge network. + +You can now visit your website at the domain you've set up. From ac06d42c25e6c375c0fb623cc03de08f72495a3a Mon Sep 17 00:00:00 2001 From: Yuanlin Lin Date: Sun, 14 Jan 2024 11:19:33 +0800 Subject: [PATCH 2/2] Select Zola version in Zeabur deployment --- docs/content/documentation/deployment/zeabur.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/content/documentation/deployment/zeabur.md b/docs/content/documentation/deployment/zeabur.md index 56ab0a6685..dda3050bc5 100644 --- a/docs/content/documentation/deployment/zeabur.md +++ b/docs/content/documentation/deployment/zeabur.md @@ -50,6 +50,9 @@ Replace `` with the URL of your GitHub repository. Zeabur will automatically detect that you're deploying a Zola project and will handle the deployment process for you without any additional configuration needed. +To use a specific version of Zola, set [`ZOLA_VERSION`](https://zeabur.com/docs/environment/variables) environment variable in project settings to a valid +release tag, for example `0.17.2`. + ## Step 6: Domain Binding 1. Once the deployment is complete, bind a domain name to your service.