How Deploy site with identity git-gateway enabled?

How can i configure my netlify.toml file
to make sure to activate netlify-identity and git-gateway?

I have my code set up for netlify-identity and git-gateway
but after deployment i need to manually click to enable netlify identity and git-gateway
on my netlify account…

is there a more fluid way to deploy this ?

Hi @goldcoders, there is no way to enable Identity and git-gateway from the netlify.toml file but if you are looking to use a ‘deploy to netlify’ button, you can add the stack=cms query param as is used here: GitHub - netlify-templates/gatsby-starter-netlify-cms: Example gatsby + netlify cms project. It’ll look like the following:

https://app.netlify.com/start/deploy?repository=https://github.com/netlify-templates/gatsby-starter-netlify-cms&stack=cms

1 Like