Is there any way that drone can trigger on pr request creation before approval/merging?
Below is the drone.yml I am using.
name: production deployment
- name: setup/install
- yarn install --silent
- name: build
- cd app
- rm -rf build
- yarn run build
- ls build
Could you please try using - pull_request as event under trigger
As mentioned in doc:
Doesn’t work I tried. Just to be sure the pull request event is dependent on the destination branch right.
@geeek This will only work with trigger. Try to pull the trigger on your way. It will work .