diff --git a/public/logos/cloudray.svg b/public/logos/cloudray.svg new file mode 100644 index 0000000000000..0f63f1574b8a1 --- /dev/null +++ b/public/logos/cloudray.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/components/DeployGuidesNav.astro b/src/components/DeployGuidesNav.astro index 7aa36af1914c8..c85d33fb5c7ed 100644 --- a/src/components/DeployGuidesNav.astro +++ b/src/components/DeployGuidesNav.astro @@ -43,6 +43,7 @@ const services: Service[] = [ { title: 'Kinsta', slug: 'kinsta', supports: ['ssr', 'static'] }, { title: 'Zeabur', slug: 'zeabur', supports: ['ssr', 'static'] }, { title: 'Zerops', slug: 'zerops', supports: ['ssr', 'static'] }, + { title: 'CloudRay', slug: 'cloudray', supports: ['static'] }, ]; --- diff --git a/src/content/docs/en/guides/deploy/cloudray.mdx b/src/content/docs/en/guides/deploy/cloudray.mdx new file mode 100644 index 0000000000000..74b7884fe3ce2 --- /dev/null +++ b/src/content/docs/en/guides/deploy/cloudray.mdx @@ -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 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](https://github.com/) repository + +## How to Deploy through CloudRay Dashboard + +Deploying with CloudRay typically involves three main 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. + + +## Official Resources + +Check out [the Astro guide in CloudRay's docs](https://cloudray.io/articles/how-to-deploy-your-astro-site). diff --git a/src/data/logos.ts b/src/data/logos.ts index 3acf147bc394b..5aef2a98c3948 100644 --- a/src/data/logos.ts +++ b/src/data/logos.ts @@ -10,6 +10,7 @@ export const logos = LogoCheck({ cleavr: { file: 'cleavr.svg', padding: '0.125em 0.125em 0.1375em' }, cloudflare: { file: 'cloudflare-pages.svg', padding: '.1875em' }, cloudinary: { file: 'cloudinary.svg', padding: '.1875em' }, + cloudray: { file: 'cloudray.svg', padding: '0' }, 'craft-cms': { file: 'craft-cms.svg', padding: '.225em' }, crystallize: { file: 'crystallize.svg', padding: '.1875em' }, 'create-react-app': { file: 'create-react-app.svg', padding: '.1875em' },