Deploy your Astro Site with CloudRay
Esta página aún no está disponible en tu idioma.
You can deploy your Astro project using CloudRay, a centralized platform that helps you manage your servers, organize Bash scripts, and automate deployment tasks across virtual machines and cloud servers.
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
Section titled “Prerequisites”To get started, you will need:
- A CloudRay Account
- Your app code stored in a GitHub repository
How to Deploy through CloudRay Dashboard
Section titled “How to Deploy through CloudRay Dashboard”Deploying with CloudRay typically involves three main steps:
-
Install the CloudRay 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 Astro repo, installs dependencies, builds your site, and configures a web server. Define any repo-specific values using CloudRay’s variable groups.
-
Use CloudRay’s Runlog interface to execute your script on your connected server and monitor the deployment in real time.
Official Resources
Section titled “Official Resources”Check out the Astro guide in CloudRay’s docs.