kind: pipeline type: docker name: default steps: - name: test image: alpine commands: - echo "Testing..." - name: build image: alpine commands: - echo "Building..." - name: deploy-staging image: alpine commands: - echo "Deploying to stage..." - name: approval image: alpine commands: - echo "Awaiting manual approval for production deployment." # when: # # event: # # - push # status: # - success - name: deploy-production image: alpine commands: - echo "Deploying to production..." # when: # # event: # # - push # status: # - success depends_on: - approval