Skip to content

Commit 0b8da43

Browse files
committed
add TOML config example
1 parent 7f07feb commit 0b8da43

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,20 @@ plugins:
9898

9999
See [cypress-example-kitchensink](https://github.com/cypress-io/cypress-example-kitchensink/blob/master/netlify.toml) for instance.
100100

101+
## toml
102+
103+
You can write Netlify configuration file using TOML format, and then configure the plugin as
104+
105+
```toml
106+
# build and build environment settings ...
107+
108+
[[plugins]]
109+
package = "netlify-plugin-cypress"
110+
inputs = { spec = 'cypress/integration/examples/w*.js', record = true }
111+
```
112+
113+
See [cypress-example-kitchensink netlify.toml](https://github.com/cypress-io/cypress-example-kitchensink/blob/master/netlify.toml)
114+
101115
## Debugging
102116

103117
Set environment variable `DEBUG=netlify-plugin-cypress` to see the debug logs. To see even more information, set `DEBUG=netlify-plugin-cypress,netlify-plugin-cypress:verbose`

0 commit comments

Comments
 (0)