Deploy your Astro Site to Surge
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
You can deploy your Astro project to Surge, a single-command web publishing platform designed for front-end developers.
How to deploy
Install the Surge CLI globally from the terminal, if you haven't already.
npm install -g surgeBuild 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.