On This Page

  1. Static Hosting
  2. Serverless

Netlify

Greenwood can be deployed to Netlify (opens in a new window) for either static hosting and / or serverless hosting. Just connect your git repository (opens in a new window) and you're done!

You can see a complete hybrid project example in our demonstration repo (opens in a new window).

Static Hosting

For static hosting, nothing is needed other than connecting your repository and building your Greenwood project. You can apply any of your own build customizations through a netlify.toml (opens in a new window) or the Netlify UI.

[build]
  publish = "public/"
  command = "npm run build"

[build.processing]
  skip_processing = true

[build.environment]
  NODE_VERSION = "22.x"

Serverless

For serverless hosting of SSR pages and API routes you can read about and install our adapter plugin (opens in a new window) and then add it to your greenwood.config.js.

import { greenwoodPluginAdapterNetlify } from "@greenwood/plugin-adapter-netlify";

export default {
  plugins: [greenwoodPluginAdapterNetlify()],
};