DRONE_YAML_ENDPOINT didn't work as expect ,When use Build Create API to trigger build


I’m using DRONE_CONVERT_PLUGIN_ENDPOINT to return a dynamic pipeline step. which means the steps maybe changed and I would like to trigger the build by Build Create API, even the code didn’t change.

It works fine in case of triggering by code changing, Drone server send request to my endpoint server to take the .yml file.

But if there is no code change and I just use the the API the create build, Drone server didn’t take the new .yml file from my endpoint server. It just use the one of previous build(like RESTART).

Any configuration or parameter can force the Drone server send a request to endpoint server to take .yml config in anytime.

Thank you very much.