How Static Sites works
A static website lives as code in a git repository. To get a change online, someone has to build the site and put the output on the web server. Static Sites does that every time there is a new commit.
From commit to live site
- Check. Every five minutes the app compares the latest commit on the branch with the commit that is live.
- Build. If there is something new, it runs the install, sync and build steps on the server. Or it takes the build from the latest successful pipeline in GitLab CI.
- Go live. The output goes to the folder the web server serves. The commit, the duration and the status are recorded in the deploy history.
- Monitor. If it fails, the previous version stays in place and a new attempt follows with a growing waiting time. If it keeps failing, the administrators get an alert.
Who it’s for
- Websites customers. Your site is published through Static Sites without you having to configure anything.
- Platform administrators who need to see which site runs which version, and why a deploy failed.
What it gets you
A change in the repository is online within minutes, without anyone building by hand or copying files. If something goes wrong, the old site stays available. You see the full error message, and a resolved problem signs itself off.