Deploy to Zeit Now
Now by Zeit is an excellent deploy & hosting service for static sites. You get global CDN, HTTP/2, custom domains etc. They also have continuous deployment from a GitHub-repo. They have a free plan with unlimited deployments.
Deploying from GitHub
Add these settings where its needed:
- Build Command:
npm run build
- Publish directory:
Deploying with Terminal
- Follow this guide to install Now
- Go to your Gridsome project in terminal
gridsome buildto built the site.
- Go to the generated dist folder
nowto deploy your site 🎉