The HTML/CSS/JS runtime is designed for deploying pre-built frontend applications and static websites. It is suitable for projects generated with tools such as Hugo, Astro, VitePress, Jekyll, and similar static site generators.

Unlike applications built with frameworks such as Vue.js or React, App Platform does not build the application during deployment. Instead, it serves the pre-generated static assets directly from your repository.

Preparing Your Project

Before deployment, build the project locally. The build process should generate a directory containing the static assets for your site, for example:

  • dist
  • build
  • public

The output directory must include an index.html file together with all required assets.

Example for Hugo:

hugo

After the build completes, the generated files will be available in the public directory.

Deployment Behaviour

For HTML/CSS/JS applications, the following deployment options are not available:

  • Build command
  • Build directory
  • Dependency settings

This is because the application is treated as already compiled and does not require a build step during deployment.

Project Directory

If the generated static files are located outside the repository root, specify the path to the directory containing the build output.

For example, if the compiled site is located in /public, use:

public

App Platform will then serve files directly from this directory.

Was this page helpful?
Updated on 19 May 2026

Do you have questions,
comments, or concerns?

Our professionals are available to assist you at any moment,
whether you need help or are just unsure of where to start.
Email us
Hostman's Support