Deploy Astro in minutes
Astro's default static output builds to dist — exactly what Darmi Cloud's React / Vite preset serves from a fast nginx container over HTTPS. Connect GitHub and your site ships on every push.
How to deploy Astro
Darmi Cloud has a dedicated React / Vite preset, so there is no configuration to write.
- 1
Sign in with GitHub
Open darmicloud.tech and sign in with GitHub (or Google). On first sign-in you grant read access so the deploy worker can clone your repositories.
- 2
Import your repository
Click New Project, pick your Astro repository, and choose the branch to deploy — the default branch is preselected.
- 3
Select the React / Vite preset
Choose the React / Vite preset. The commands are prefilled (build: npm run build, start: (served statically by nginx)) — adjust them only if your project differs.
- 4
Add environment variables
Add any environment variables your app needs (database URLs, API keys, secrets). Mark sensitive values as secrets — they are injected into the container and hidden in the UI afterwards.
- 5
Deploy and watch it go live
Click Deploy. Watch the live build and runtime logs, and your app goes live on an automatic HTTPS subdomain. Every push to your branch redeploys automatically.
Preset defaults
- Preset
- React / Vite
- Container port
- 80
- Build command
- npm run build
- Start command
- (served statically by nginx)
Tips for Astro on Darmi Cloud
- The default static output goes to dist, which the preset serves as-is — no extra configuration needed.
- Using SSR with @astrojs/node? Pick the Node.js / Express preset instead and start with node ./dist/server/entry.mjs.
- Content collections, MDX and view transitions are all build-time features and work out of the box.
Astro deployment FAQ
Does Astro need a server on Darmi Cloud?
Not for the default static output — nginx serves the dist folder over HTTPS. If you enable SSR with the Node adapter, use the Node.js preset instead.
Do Astro islands and client-side scripts work?
Yes. Islands are compiled into the static bundle at build time and hydrate in the browser as usual.
Can I use my own custom domain?
Yes. Connect an existing domain or buy one inside Darmi Cloud. DNS is configured automatically and every domain gets free SSL via Let's Encrypt.
Is there a free plan?
Yes. The Free plan deploys one project on an automatic HTTPS subdomain with auto-deploy on every push. Paid plans add custom domains, PR preview deployments and more projects.
Deploy other frameworks
Ready to deploy your Astro app?
Connect GitHub and ship in minutes — on a free HTTPS subdomain, or on your own custom domain.
Deploy Astro now