Skip to content
Open
Show file tree
Hide file tree
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 docs/deploy-with-cloudray.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Deploy With CloudRay

You can deploy your Gridsome project using [CloudRay](https://cloudray.io/), a centralized platform that helps you manage your servers, organize Bash scripts, and automate deployment tasks across virtual machines and cloud servers.

> **Note**: CloudRay itself does not host your site. Instead, it provides automation tools to run deployment scripts on your own infrastructure (e.g., Ubuntu servers) using a connected agent.

## Prerequisites

To get started, you will need:

- A [CloudRay Account](https://app.cloudray.io)
- Your app code stored in a GitHub repository

## How to Deploy through CloudRay Dahsboard

Deploying with CloudRay typically involves three main steps:

- Install the [CloudRay Agent](https://cloudray.io/docs/agent) on your server to securely register your machine and enable remote automation.
- In your CloudRay Dashboard, write a reusable Bash script that clones your Gridsome repo, installs dependencies, builds your site, and configures a web server. Define any repo-specific values using [CloudRay’s variable groups](https://cloudray.io/docs/variable-groups).
- Use CloudRay’s Runlog interface to execute your script on your connected server and monitor the deployment in real time.

## Official Resources

Check out the [Gridsome guide in CloudRay's docs](https://cloudray.io/articles/how-to-deploy-your-gridsome-site).
2 changes: 2 additions & 0 deletions docs/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ These services are great for Git-based deploying:

- [Azure Static Web Apps](/docs/deploy-to-az-static-web-app/)

- [CloudRay](docs/deploy-with-cloudray)

## Deploy from terminal

Many services let you deploy your static Gridsome site from the terminal. Here are some:
Expand Down