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.
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
npm run build
dist, for static sites; dist/client if you have any pages rendered on demand.Click the Create Static Site button
© 2021 Fred K. Schott
Licensed under the MIT License.
https://docs.astro.build/en/guides/deploy/render/