github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/bitbucket/testdata/stages/example5.yaml (about)

     1  pipelines:
     2    default:
     3      - stage:
     4          name: Build and test
     5          deployment: staging
     6          steps:
     7            - step:
     8                name: Build app
     9                script:
    10                  - sh ./build-app.sh
    11            - step:
    12                name: Run unit tests
    13                script:
    14                  - sh ./run-tests.sh
    15      - stage:
    16          name: Deploy to Production
    17          deployment: prod
    18          trigger: manual
    19          steps:
    20            - step:
    21                name: Build app
    22                script:
    23                  - sh ./build-app.sh
    24            - step:
    25                name: Run unit tests
    26                script:
    27                  - sh ./run-tests.sh