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

Deploy your Astro Site to Google’s Firebase Hosting

यह कंटेंट अभी तक आपकी भाषा में उपलब्ध नहीं है।

Firebase Hosting is a service provided by Google’s Firebase app development platform, which can be used to deploy an Astro site.

See our separate guide for adding Firebase backend services such as databases, authentication, and storage.

How to deploy

  1. Make sure you have firebase-tools installed.

  2. Create firebase.json and .firebaserc at the root of your project with the following content:

    firebase.json:

    {
    "hosting": {
    "public": "dist",
    "ignore": []
    }
    }

    .firebaserc:

    {
    "projects": {
    "default": "<YOUR_FIREBASE_ID>"
    }
    }
  3. After running npm run build, deploy using the command firebase deploy.

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

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

डिप्लॉय प्रकार से छाँटें