Sites hosts static websites and single-page apps, and the functions and forms that go with them. Each site gets a free address, name.xksites.ca, and can have your own domains.
Features
- Git deploys: connect a GitHub repository and every push to its production branch builds and goes live.
- Pull request previews: each pull request gets its own address, linked from the pull request.
- Automatic framework detection: Next.js (static export), Astro, Vite, SvelteKit, Nuxt, Gatsby, Docusaurus, Eleventy and more.
- Deploy without Git: upload a zip of the site's folder.
- Custom domains with HTTPS certificates issued and renewed for you.
- Instant rollback: any of the last 10 deploys can go live again in one step.
- Clean addresses:
/aboutservesabout.htmlorabout/index.html, and your own404.htmlanswers for missing pages.
How a deploy works
- A push, a pull request or an upload starts a deploy.
- For Git, the code is built in a sandbox that is thrown away afterwards.
- The output is checked: it must contain an
index.html, only real files, within the size limits. - The deploy goes live in a single switch. Visitors never see half a deploy, and a failed deploy never replaces what's live.
The site's page in the Console
| Tab | What's there |
|---|---|
| Overview | The live deploy, its address and usage at a glance |
| Deploys | The GitHub connection, every deploy with its log, commit and status, open previews; roll back from here |
| Domains | Your own domains and the DNS records each needs |
| Forms | Form submissions from the last 90 days, and who they're emailed to |
| Functions | Settings and secrets, and the functions' logs |
| Access | People who can work on this one site only |
| Settings | Rename, pause or delete the site |
Limits
| Limit | Value |
|---|---|
| Zip upload | 100 MB |
| Site size after unpacking or building | 500 MB |
| Files per deploy | 10,000 |
| Deploys kept | The 10 newest, plus the live one |
| Repository download | 200 MB |
Sites per team, domains per site and monthly bandwidth depend on your plan. See Quotas.
Note
Apps that need a running server (Next.js with server rendering, Express) deploy as server apps.