You can use Zephyr Cloud to deploy an Astro site with intelligent asset management, comprehensive build analytics, and first-class support for Module Federation architectures.
Zephyr operates on a Bring Your Own Cloud (BYOC) model, deploy to your choice of supported clouds through a unified interface without vendor lock-in. Switch providers anytime without changing your deployment workflow.
Add the Zephyr integration to your Astro project with the following command. This will install the integration and update your astro.config.mjs file automatically:
npx with-zephyr@latest
pnpm dlx with-zephyr@latest
yarn dlx with-zephyr@latest
Build and deploy your Astro site:
npm run build
pnpm run build
yarn run build
Your application is deployed! Zephyr will provide a deployment URL and comprehensive build analytics.
Install the Zephyr Astro integration:
npm install zephyr-astro-integration
pnpm add zephyr-astro-integration
yarn add zephyr-astro-integration
Add the integration to your astro.config.mjs:
import { defineConfig } from 'astro/config';
import { withZephyr } from 'zephyr-astro-integration';
export default defineConfig({
integrations: [
withZephyr(),
],
});
Build and deploy your Astro site:
npm run build
pnpm run build
yarn run build
Your application is deployed! Zephyr will provide a deployment URL and comprehensive build analytics.
For more detailed information refer to the Zephyr Cloud documentation on deploying with Astro.
When you build your Astro site with the Zephyr integration, the following process occurs:
© 2021 Fred K. Schott
Licensed under the MIT License.
https://docs.astro.build/en/guides/deploy/zephyr/