kind: pipeline type: docker name: main-automated-pipeline trigger: event: - push - promote - manual steps: - name: print-auto-run image: alpine:latest when: event: push branch: main commands: - echo =================================== - echo 这是自动运行的流水线 - echo 自动运行 - echo 仓库唯一标识UID: $DRONE_REPO - echo ===================================