1. Home
  2. Docs
  3. Simply Static
  4. Deployment

Deployment

All static hosting providers require a GitHub repository for their deployment. So make sure you followed the documentation about the GitHub Integration here and that you already have generated a static version of your website.

Cloudflare Pages

Create an account for Cloudflare Pages here.

Set up a page

Login to your account and navigate to “Menu” and then “Sites”:

Deployment 1

Click on “Create new project.

Cloudflare will ask you to connect your GitHub account to get your created repositories automatically. Click the button and connect your profile. After that you get a list of your repositories, choose the one created by Simply Static Pro (in my case patrickposner.de as I created a static version of my german website), then click on “Begin Setup”.

Deployment 2

You will now see an additional step called “Set up builds and deployments”. Usually, you don’t want to change something here, so click on “Save and deploy”.

Deployment 3

The last page is called “Building and deploying”. You don’t have to do anything here, Cloudflare Pages will set up the page and you can follow the progress in the progress window. Wait for Cloudflare to finish the deployment.

Deployment 4

You can follow the log to see if there are any problems with your deployment. It will end with “Successfully deployed” if everything was ok. Then you can click “Continue to project”.

Deployment 5

Preview the result

Cloudflare Pages creates a temporary URL for you that you can use to work and view the site. Here is a short example of my static created website:

Deployment 6

Anytime you make changes to your website and update create a new static version (full export, via builds, or by creating a single export within a post/page) Simply Static Pro will automatically commit your changes to GitHub and your static website gets notified to update the static version of your website.

Add custom domain

If you like you can now add a custom domain to your project. Take a look at the menu tab called “Custom Domains”:

Deployment 7

Click on “Set up custom domain” and enter your domain name. You get a CNAME record you have to add to the DNS configuration of your domain provider. If you are using Cloudflare to manage your DNS this could not be easier as it can be added automatically with a single click of a button.

Deployment 8