Surge
Deploy and run astro website in to surge
Surge Deploy
If you want to deploy your astro js project in to surge host, for first you need to build production mode for your satro project with run npm run build
, and astro will create new production mode dist
folder. then you can install surge CLI with run npm install --global surge
Next you can push your dist
folder in to surge host , now you can run command surge
, then you can register in here, that’s it.. your website will be deploy it on surge.