Company
Date Published
Author
Charlie Gerard
Word count
324
Language
English
Hacker News points
None

Summary

There's a few different ways to create a site on Netlify. You can create new sites programmatically using the Netlify API in a single command by installing and importing the netlify package, instantiating a new NetlifyAPI object with a provided token for authentication, and using the createSite method to pass information about the repository you'd like to use and the name of your new site. This can be used to automate deployment or create custom deployment buttons.