Astro
Deploy your Astro Site to Surge
Deploy your Astro Site to Surge
You can deploy your Astro project to Surge, a single-command web publishing platform designed for front-end developers.
How to deploy
```shell
npm install -g surge
```
Build your Astro site from your project’s root directory.
npm run buildDeploy to Surge using the CLI.
surge distYou can use a custom domain with Surge when deploying by running
surge dist yourdomain.com.