Juno is an open-source serverless platform for hosting static websites, building web applications, and running serverless functions with the privacy and control of self-hosting.
Create your container
Section titled “Create your container”Configure your project
Section titled “Configure your project”Your Astro project can be deployed to Juno as a static site.
Create a juno.config.mjs file at the root of your project, and replace the PROD_SATELLITE_ID with the ID of the Satellite you created earlier.
import { defineConfig } from '@junobuild/config';
/** @type {import('@junobuild/config').JunoConfig} */export default defineConfig({ satellite: { ids: { production: '<PROD_SATELLITE_ID>' }, source: 'dist', predeploy: ['npm run build'] }});How to deploy
Section titled “How to deploy”You can deploy using either GitHub Actions or CLI (command line interface).
GitHub Actions deployment
Section titled “GitHub Actions deployment”CLI deployment
Section titled “CLI deployment”Guides
Section titled “Guides”Examples
Section titled “Examples”Quickly scaffold a website with a ready-made Astro template.