Connect the repository.
Import it from GitHub or GitLab and choose the branch that should go live.
Astro hosting
Deploy an Astro site from GitHub or GitLab. Static output is served from a global edge with HTTPS. With output: "server" and the Node adapter, Lahyer runs it as a Node.js server.
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 | astro in your package.json dependencies |
|---|---|
| Install | npm, pnpm, Yarn or Bun, chosen from your packageManager field or lockfile |
| Build | Your build script, or astro build |
| Output | dist/ for static sites |
| Server output | output: "server" with @astrojs/node in standalone mode runs as a Node.js server |
Your first deploy
Import it from GitHub or GitLab and choose the branch that should go live.
Static output needs nothing extra. For server rendering, add @astrojs/node in standalone mode and set output: "server".
Each push deploys, pull requests get preview URLs, and earlier deployments stay available for a rollback.
A few useful answers
The Node adapter, @astrojs/node, in standalone mode, with output: "server". Lahyer starts the server it builds. Without the adapter, keep static output.
No. Static files are served without a running server, so there is no cold start on any plan.
Yes. Connect a domain you already own, or buy one in Lahyer. HTTPS is managed for you once the domain is verified.