0.1.0 • Published 4 years ago

netlify-plugin-restart-split-test v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

netlify-plugin-restart-split-test

Sometimes assets become stale if you're running a split test, the current fix is to restart your split test after each deploy. Since that requires manual intervention, this plugin aims to restart a split test when a deploy is completed.

Hopefully this is a temporary plugin and it no longer becomes necessary.

Usage

Add the plugin to your netlify.toml:

package = "netlify-plugin-restart-split-test"
  [plugins.inputs]
     testName = "Split test 1" # REQUIRED

Create an access token, we need to talk to the Netlify API: https://app.netlify.com/user/applications

Add an environment variable of NETLIFY_AUTH_TOKEN with the access token you created above.

0.1.0

4 years ago