Loading...

Deploying Static Site Generator applications

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:

SpecificationValue
Development branchmaster
Deployment branchmaster
What code is pushedBuilt bundle
Who runs npm install, npm run build, and npm run exportDeveloper

Did not find what you were looking for?

If this content did not answer your questions, try searching or contacting our support team for further assistance.

Back to Section navigation
Back to Site navigation