我在多台 linux 机器上正确安装了drone runner,并将它们命名为run-1
and run-2
.
这是我的管道:
---
kind: pipeline
type: exec
name: running PHP API update
clone:
disable: true
steps:
- name: update files
commands:
- git -C /path/to/project/ pull origin master
when:
instance:
include:
- run-1
- run-2
但是,只有一个实例提取了我的代码,并且没有错误日志。