Developer-First Platform as a Service

Deploy your Astro Site with Zerops

Astro SSG (Static) example running on Zerops. Deploy and test yourself with a single click.

Deploying will import the following structure (zerops-project-import.yml)
and use following (zerops.yml) instructions to build and deploy your app:

zerops-project-import.yml
project:
name: recipe-astro
tags:
- zerops-recipe
services:
- hostname: app
type: static@1.0
enableSubdomainAccess: true
buildFromGit: https://github.com/zeropsio/recipe-astro-static
zerops.yml
zerops:
- setup: app
build:
base: nodejs@20
buildCommands:
- pnpm i
- pnpm build
deployFiles:
- dist/~
cache:
- node_modules
- pnpm-lock.yaml
run:
base: static

Powered by Zerops