I am trying to use bitbucket-pipelines to test and in a separate step deploy,
When a pull-request is created I want to run unit tests. I see that I can do this with the pull-requests feature.
When the code is merged, I want to create a zip and deploy (copy) code to s3
How do I trigger a step when the code is merged? Not when the pull-request is created.
Do I need to use tags?