I noticed in the documentation:
Deployments are triggered at the end of a successful build. Note that deployment steps are not executed for pull requests or failed builds.
I’m wondering if this has to be the case. I’d like to publish pull request builds to our private registry under their own repo. This is because I want to be able to run the code in a production like environment prior to merging.
I could see being able to filter by
pull_request and then creating a separate publish step for that trigger. However, it seems that isn’t possible.
Can I accomplish a publish on PR? Or is that not supported by Drone?