-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add CloudRay deployment Guide #11935
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
Merged
ArmandPhilippot
merged 6 commits into
withastro:main
from
GeoSegun:add-cloudray-deployment
Jun 30, 2025
Merged
Changes from 3 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
b9be860
Add CloudRay deployment Guide
GeoSegun 42e0458
Update public/logos/cloudray.svg
GeoSegun 36f6150
Updated src/content/docs/en/guides/deploy/cloudray.mdx
GeoSegun 39f1686
Update src/content/docs/en/guides/deploy/cloudray.mdx
GeoSegun c7195a9
Update src/content/docs/en/guides/deploy/cloudray.mdx
GeoSegun 762586e
Merge branch 'main' into add-cloudray-deployment
ArmandPhilippot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
title: Deploy your Astro Site with CloudRay | ||
description: How to deploy your Astro site to your Ubuntu Server using CloudRay | ||
sidebar: | ||
label: CloudRay | ||
type: deploy | ||
i18nReady: true | ||
--- | ||
import { Steps } from '@astrojs/starlight/components'; | ||
|
||
You can deploy your Astro project using [CloudRay](https://cloudray.io), a centralised platform that helps you manage your servers, organise 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](https://github.com/) repository | ||
|
||
## How to Deploy through CloudRay Dashboard | ||
|
||
Deploying with CloudRay typically involves three main steps: | ||
|
||
<Steps> | ||
1. Install the [CloudRay Agent](https://cloudray.io/docs/agent) on your server to securely register your machine and enable remote automation. | ||
|
||
2. In your CloudRay Dashboard, write a reusable Bash script that clones your Astro 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). | ||
|
||
3. Use CloudRay’s Runlog interface to execute your script on your connected server and monitor the deployment in real-time. | ||
GeoSegun marked this conversation as resolved.
Show resolved
Hide resolved
|
||
</Steps> | ||
|
||
## Official Resources | ||
|
||
Check out [the Astro guide in CloudRay's docs](https://cloudray.io/articles/how-to-deploy-your-astro-site). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.