I see in the Bitbucket pipelines documentation that I can specify steps to run just on master, i.e.
branches:
master:
I want the steps in default: to run as well as the specific ones for master:
- Do I need to define those twice?
i.e. Do I need to do this, or is there a more efficient way?
pipelines:
default:
- step:
name: Step one
script:
- echo Step One Is Identical Both Times
branches:
master:
- step:
name: Step one
script:
- echo Step One Is Identical Both Times
- step:
name: Step two
script:
- echo Step two