Pular para o conteúdo

Deploy your Astro Site to Surge

Este conteúdo não está disponível em sua língua ainda.

You can deploy your Astro project to Surge, a single-command web publishing platform designed for front-end developers.

How to deploy

  1. Install the Surge CLI globally from the terminal, if you haven't already.

    npm install -g surge
  2. Build your Astro site from your project’s root directory.

    npm run build
  3. Deploy to Surge using the CLI.

    surge dist

    You can use a custom domain with Surge when deploying by running surge dist yourdomain.com.

Mais Guias de Deploy

Contribua Comunidade Sponsor