Deploy your Astro Site to Render
यह कंटेंट अभी तक आपकी भाषा में उपलब्ध नहीं है।
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.
How to deploy
Section titled How to deploy-
Create a render.com account and sign in
-
Click the New + button from your dashboard and select Static Site
-
Connect your GitHub or GitLab repository or alternatively enter the public URL of a public repository
-
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 usingserver
orhybrid
server-rendering modes.
- Build Command:
-
Click the Create Static Site button