Netlify
Deploy your book to Netlify with continuous deployment from Git.
npx metrists publish netlify
What it does
- Creates a
netlify.toml
configuration file in your project root - Configures Netlify’s build settings and publish directory
- Sets up the build command for Netlify’s continuous deployment
Generated Configuration
The generated netlify.toml
includes:
[build]
section with publish directory and build command- Proper configuration for static site hosting
Next Steps
-
Push your project to a Git repository (GitHub, GitLab, or Bitbucket)
-
Go to Netlify and sign up or log in
-
Click “New site from Git” and connect your repository
-
Netlify will automatically detect the
netlify.toml
configuration -
Deploy your site!
Your book will be automatically redeployed whenever you push changes to your repository.