You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
At the moment the test suite will always run whenever a new deploy is made. This raises to problems:
The test suite will run on the Pull Request AND when the code is merged (essentially running the same tests twice without changes)
The build plugin has to be removed in case a hotfix has to be performed regardless of test status
Describe the solution you'd like
Ability to control when the build plugin will be run. I suppose this could work with the tags that netlify injects: production, deploy-preview or branch-deploy. Then it would be possible to specify the [plugins.inputs] to something like, only-run-on = "deploy-preview" (as an example). Maybe there is a better way to figure out what type of build it is, but I don't know that much about the build plugins.
Describe alternatives you've considered
I know it's a bit limited what Netlify provides to the build plugins, which makes certain solution impossible at the moment.
I'd like to contribute to this if you want, just want to discuss if this is something that would be wanted, and in that case, how it should work 😊
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
At the moment the test suite will always run whenever a new deploy is made. This raises to problems:
Describe the solution you'd like
Ability to control when the build plugin will be run. I suppose this could work with the tags that netlify injects:
production
,deploy-preview
orbranch-deploy
. Then it would be possible to specify the[plugins.inputs]
to something like,only-run-on = "deploy-preview"
(as an example). Maybe there is a better way to figure out what type of build it is, but I don't know that much about the build plugins.Describe alternatives you've considered
I know it's a bit limited what Netlify provides to the build plugins, which makes certain solution impossible at the moment.
I'd like to contribute to this if you want, just want to discuss if this is something that would be wanted, and in that case, how it should work 😊
The text was updated successfully, but these errors were encountered: