I like deploy previews but I only want them occasionally. Is there a way to manually trigger them rather than have them auto created on all PRs?
You can turn off Deploy Previews by following the instructions here:
But I don’t know of a way to turn them back on with an API call. When you want one for the next build, you can always toggle that setting back.
Let us know if that helps or if you have any other questions!