drone-pg/.drone.yml
2022-01-03 14:06:55 +00:00

38 lines
399 B
YAML

kind: pipeline
type: exec
name: build
steps:
- name: test
commands:
- echo "testing"
- sleep 5
trigger:
event:
- push
- pull_request
---
kind: pipeline
type: exec
name: deploy
steps:
- name: test
commands:
- echo test
- echo test2
- echo test3
- sleep 3
- name: deploy
commands:
- echo deploy
- sleep 3
trigger:
event:
- promote
target:
- production