.submodule deploy error

I was using ssh in .gitmodules and it returns an error… so I changed into https. and getting an error like this. seems this error is from netlify side?

7:12:24 AM: git clone https://github.com/user/repo
7:12:25 AM: Preparing Git Reference refs/heads/master
7:12:26 AM: Invalid netlify.toml file: Error while decoding file /opt/build/repo/netlify.toml: Near line 8 (last key parsed 'context.production'): Key 'context.production.environment' has already been defined.
7:12:26 AM: Failing build: Failed to build site
7:12:26 AM: failed during stage 'building site': Error while decoding file /opt/build/repo/netlify.toml: Near line 8 (last key parsed 'context.production'): Key 'context.production.environment' has already been defined.
7:12:26 AM: Finished processing build request in 3.139787696s

can you post your netlify.toml please?