Bring your files.
Connect a repository, upload a zip, or run lahyer deploy in the folder with the CLI.
Static site hosting
Have an index.html? Push it to GitHub or GitLab, or deploy the folder with the CLI. Lahyer serves it from a global edge with HTTPS, a live URL in about a minute and previews for every pull request.
Deploy your projectWhat Lahyer does with it
Lahyer fills these in from your repository. Change anything that does not fit in the project's build settings.
| Detected from | An index.html with no package.json, or a package.json without a build script |
|---|---|
| Build | None. With a build script, set the output directory it writes to |
| Output | Your files, served as they are |
| Redirects and headers | A lahyer.json file in the project root |
| Sources | GitHub, GitLab, the CLI or a zip upload |
Your first deploy
Connect a repository, upload a zip, or run lahyer deploy in the folder with the CLI.
A lahyer.json file in the project root sets redirects and response headers. Lahyer reads it on every deploy and reports problems in the build log.
Add a domain you own, or buy one in Lahyer. HTTPS is managed for you.
A few useful answers
No. A folder with an index.html is served as it is.
Add a lahyer.json with redirects, for example { "source": "/blog/:slug", "destination": "/posts/:slug", "permanent": true }, and headers rules for response headers.
Static sites fit within the Free plan: 5 projects, 100 GB of data out and 1,000,000 requests a month, with no card.