Lume

This is an example of how to set up a static site with Lume on Kinsta’s Static Site Hosting services from a GitHub repository.

Lume is a fast & flexible static site generator for Deno. More information is available on the lume.land website.

During the deployment process, Kinsta automatically installs dependencies defined in your package.json file.

  1. Log in to GitHub and create a new repository from this template (Use this template > Create a new repository): Kinsta – Hello World – Static Site With Lume
  2. In MyKinsta, add a static site with the Hello World Lume repository. The Build settings may auto-populate; check that they match the following and change them if necessary:
    • Build command: npm run build
    • Node version: 18.16.0
    • Publish directory: _site
  3. The site is available as soon as the build finishes, and the Kinsta Welcome page loads at your site’s URL.
Kinsta Welcome page after successful deployment of Lume.
Kinsta Welcome page after successful deployment of Lume.

Deployment Lifecycle

Whenever a deployment is initiated (through creating a static site or re-deploying due to an incoming commit), the build command is run, followed by the deployment of the Publish Directory content.

Was this article helpful?