---
title: "Deploying Static Site Generator applications"
date: "2024-09-27T05:52:23+00:00"
summary: "Learn how to deploy Static Site Generator apps on Cloud Platform with our step-by-step guide for developers."
image:
type: "page"
url: "/acquia-cloud-platform/add-ons/node-js/deploying-static-site-generator-applications"
id: "1bce9d6e-42a5-4b16-af7f-d069e805dd3d"
---

Use the following steps to deploy Front End Hosting - Basic Static Site Generator (SSG) applications in Cloud Platform:

1.  Ensure that the commits in the branch contain a build artifact.
    
    The build artifact is the output directory that is generated after running the `npm install` and `npm run build` and `npm run export` commands.
    
2.  Push the commits and deploy the code to an environment through the branch.
    
    For example, if the `master` branch is deployed to the Dev environment, commits including the ready-to-deploy built bundle are pushed to the `master` branch, with no further `npm` commands.
    

Use the following specifications when deploying SSG applications:

Specification

Value

**Development branch**

master

**Deployment branch**

master

**What code is pushed**

Built bundle

**Who runs** `npm install`, `npm run build`, and `npm run export`

Developer