Skip to main content
On your static site’s Settings page, you can view and edit details about your site, enable or disable auto-deploy and pull request previews, update your build strategy, or delete the site. It also shows that your site is deployed to the Edge. Static sites are pushed to the Edge at 260+ CDN locations. Visitors to your site are served the closest, fastest, and easiest-to-access CDN location.

General

General settings for your static site

General settings for your static site.

This section shows the static site display name, name, and ID. To change the display name, click Update display name, enter a new name, and click Update display name.

Deploy

Deploy settings for your static site

Deploy settings for your static site.

Auto-deploy

Use this option to automatically deploy each time a commit is made to the selected branch. To enable or disable automatic deployments or change the branch to automatically deploy from, click Update auto-deploy. Select the required options and click Update auto-deploy.
Auto-deploy settings for your site

Auto-deploy settings for your site

Pull request previews

Pull request previews allow you to preview your site so you can review the changes before you deploy them to your site. To enable pull request previews, click Enable previews > Continue.
If you enable pull request previews, this creates a new deployment for each pull request, which will increase your build minutes and bandwidth usage.
When pull request previews are enabled, and you merge a pull request in your Git provider, Sevalla creates a Preview environment in your Deployments.
Preview environment in your static site deployments

Preview environment in your static site deployments.

When you select the deployment, click View previews to view a preview of the branch or the commit. If you enable pull request previews, you can select whether to use the environment variables in the production environment, preview environment, or both.
View a preview of the branch or commit

View a preview of the branch or commit.

Build

Build settings for your static site

Build settings for your static site.

This shows information about your environment’s build strategy. To change any of these settings, click Update build strategy, and select from the following:
  • Build site before publishing: Choose if you want Sevalla to build your site before it’s deployed or not.
  • Node version: Optional. If you enter a build command, you can specify which major version of Node.js to use during the build process to ensure compatibility and avoid errors. When you select the major version, Sevalla pulls the latest image for that version during the build. You can also choose, latest to use the most up-to-date version and lts for the currently active long-term support version.
  • Build command: Optional. If your static site requires a build command, enter it here.
  • Root directory: Optional. This field defines the root folder of your static site, which is useful if you have a non-standard folder structure or monorepo setup.
  • Publish directory: Optional. If this is left blank, it defaults to the root folder. If you want to publish your site to a specific directory, enter it here, relative to the repository root. If you have an HTML site that doesn’t need to be built that you want to run from a specific directory, place your site files in that directory and enter it here, relative to the repository root.
  • Index file: If you use a single-page application (SPA), enter the site’s default page. SPAs typically use a single HTML file, commonly named index.html. When a user enters a URL for your site, all navigation traffic is directed through the index file to ensure seamless navigation within the site.
  • Error file: If you use a single-page application (SPA), you can specify which file to redirect traffic to if an error occurs in the navigation.
If you change anything beyond the site name, you must manually deploy your site again (click Deploy now on the Deployments page).

Redirects

Redirect settings for your static site

Redirect settings for your static site.

Pretty URLs help standardize your site’s URLs and improve SEO. This feature automatically enforces a trailing slash on the path of static site requests using a 301 redirect. For example, /about or /about.html would be redirected to /about/ By ensuring consistent URL structure, pretty URLs prevent duplicate content issues and improve search engine indexing. To enable pretty URLs, click Enable pretty URLs and then click Continue.

Danger zone

Danger zone for your static site

Danger zone for your static site.

Only Company Owners and Company Administrators can delete a static site. For information about how to change a user’s access, refer to User Management.
If you no longer need the static site, click Delete static site. To confirm the deletion, click Continue.
Deleting the site also completely removes all of its associated files and settings. Once it is deleted, you cannot recover a site in Sevalla.
Depending on the site’s caching headers and the user’s browser settings, the deleted site may still appear to be available for a few minutes or hours due to caching.