Current:onSuccess occurs after the build command is complete, but before any files are uploaded.
Upcoming:onSuccess occurs after the site is deployed, live, and published to production (if applicable).
As a result of the upcoming change the functionality of this plugin will break.
This PR changes the plugin to work both with the current behaviour and the upcoming one.
Hi @philhawksworth!
We're making a change to how
onSuccess
works.Current:
onSuccess
occurs after the build command is complete, but before any files are uploaded. Upcoming:onSuccess
occurs after the site is deployed, live, and published to production (if applicable).As a result of the upcoming change the functionality of this plugin will break.
This PR changes the plugin to work both with the current behaviour and the upcoming one.