I’m putting together a Github repo of some small starter templates to allow my customers to deploy a basic template to Netlify.
I am hoping to have multiple mini-apps (just a .js, .html and README.md file in a folder), each of which can be deployed individually using the Deploy to Netlify button.
When clicking that button, it copies and deploys the entire repo.
Do you know if it is possible to have the Deploy to Netlify button copy and deploy only the sub-folder it is hosted in?
As an example, my repo looks like this:
repo | example1 | example1.js | example1.html | README.md // Contains Deploy to Netlify button | example2 | example2.js | example2.html | README.md // Contains another Deploy to Netlify button
For this example, the Deploy button in the
example1 folder should deploy the code in the example1 folder only