title: Bitbucket Pipelines share SOME steps between branches
body: <p>Is it possible to share steps between branches and still run branch specific steps? For example, the develop and release branch has the same build process, but uploaded to separate S3 buckets.</p>
  
  <pre><code>pipelines:
    default:
      - step:
          script:
            - cd source
            - npm install
            - npm build
    develop:
      - step:
          script:
            - s3cmd put --config s3cmd.cfg ./build s3://develop
  
    staging:
      - step:
          script:
            - s3cmd put --config s3cmd.cfg ./build s3://staging
  </code></pre>
  
  <p>I saw this post (<a href="https://stackoverflow.com/questions/42304478/bitbucket-pipelines-multiple-branches-with-same-steps">Bitbucket Pipelines - multiple branches with same steps</a>) but it's for the same steps.</p>