इसे छोड़कर कंटेंट पर जाएं

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.

  1. Install the Surge CLI globally from the Terminal, if you haven’t already.

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

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

    Terminal window
    surge dist

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

अधिक पृष्ठ संचालन मार्गदर्शिकाएँ

Contribute

आपके दिमाग में क्या है?

Community