drone-pg/.drone.yml

38 lines
399 B
YAML
Raw Normal View History

2022-01-03 17:06:55 +03:00
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