Astro websites and apps can now be deployed to Tilda

Raees Iqbal
Founder

Tilda is a new cloud platform that aims to simplify the process of deploying and managing cloud infrastructure for websites and applications.

Tilda CLI 0.34.0 introduces support for building and deploying Astro websites and apps. This supports spans both static and SSR builds. For detailed instructions, check out our Astro documentation.

You can install the latest version of Tilda CLI by running npm install -g @tildacloud/cli@latest

Astro server-side-rendering (SSR)

Tilda requires that your Astro project uses Node.js adapter if you want to deploy an SSR app. Make sure that you follow the instructions to add Node.js adapter to your Astro project.

Once you've added the Node.js adapter, build your Astro app with the following command:

Commands
Bash
tilda build astro

Astro static websites

For static Astro websites where output: "static" is set in astro.config.mjs, use the following command. For more information about deploying static websites, see our static website documentation.

Commands
Bash
tilda build static --rootStaticDir ./dist/client

Deployment

Once the build is complete, you can deploy your Astro project to Tilda using the following command:

Commands
Bash
tilda deploy --project my-project --site my-site

If you have any questions or need further assistance, please don't hesitate to reach out to our support team.