Now that you have seen what CloudCannon can do in a demo or template, it’s time to connect your own files. Your site will be processed in a Continuous Integration / Continuous Deployment (CI/CD) workflow with each save. Connecting your site is about defining two things: setting a source for your files, and configuring your chosen SSG for your auto-build process.
To open the build process:
You’ll see the page split into two columns with a familiar terminal on the right. This terminal is your window into CloudCannon. You’ll get feedback from the system on what’s going on behind the scenes. Across the top of the page you’ll find the progress bar as well as the confirmation button in the top right.
The first step in the process is to give your site a name. With your chosen name added to the field click Create Site in the top right corner of the browser window to move onto the Sync Files step.
Setting the source of your files is a key step in CloudCannon’s build process. You have two major options to add files from: a Git provider or direct upload.
Syncing files with your Git provider gives you a range of extra workflow options including branching and version control, and allows you to push from your Git to CloudCannon. It also puts the power of Git in the hands of your editors — without them needing to understand the technical side of Git.
If you prefer, you can also add your files directly to CloudCannon.
CloudCannon will keep your site files in sync with your repo.
The final step is to choose and configure your chosen Static Site Generator (SSG). Your files will be coded with one in mind and CloudCannon should be able to automatically detect it.
Once your site has been built, you will be navigated to your site’s dashboard. Your site is now ready to be used in CloudCannon!