kind: pipeline type: docker name: production steps: - name: deploy image: alpine commands: - echo "Deploying to production" when: branch: - main event: - promote