There are two ways to deploy your site.

1. Deploy to our servers

Deploying to our servers is the easiest way to get your site online. It involves a single command:
sssg --deploy [optional-domain-name].

  • TODO: Include about deploying to staging or production.
  • If you want to use a custom domain name, run:
    sssg --deploy www.my-custom-domain.com.
    In order for SSL to work properly, you must point your DNS at our servers for the custom domain name that you choose. The IP address is 1.1.1.1.

  • If you want to use a subdomain of your choosing, run:
    sssg --deploy my-subdomain.sssg.dev
    where my-subdomain is something you want to use. All subdomains are on the sssg.dev domain.

  • If you want to use a random subdomain, run:
    sssg --deploy and we'll create a subdomain for you.

2. Manually build and deploy

First you'll have to build the site locally. And then you can deploy it however you like.

  • Run sssg --build in your project directory to build your site locally in the ./dist directory.
  • Run a script of your creation to copy/upload the contents of the ./dist directory to the appropriate directory on your server/host.

  • You can use scp, rsync, ftp, or any other method that you prefer.