Salta ai contenuti
This is an unmaintained snapshot of the Astro v4 docs. View the latest docs.

Deploy your Astro Site to Render

Questi contenuti non sono ancora disponibili nella tua lingua.

You can deploy your Astro project to Render, a service to build websites with free TLS certificates, a global CDN, DDoS protection, private networks, and auto deploys from Git.

  1. Create a render.com account and sign in

  2. Click the New + button from your dashboard and select Static Site

  3. Connect your GitHub or GitLab repository or alternatively enter the public URL of a public repository

  4. Give your website a name, select the branch and specify the build command and publish directory

    • Build Command: npm run build
    • Publish Directory: dist, for static sites; dist/client if you’re using server or hybrid server-rendering modes.
  5. Click the Create Static Site button

Altre Guide di Pubblicazione

Contribuisci

A cosa stai pensando?

Crea una Issue su GitHub

Il modo più rapido per segnalare un problema al nostro team.

Comunità