Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法更改 .drone.yml 文件的位置。我们希望将它放在父项目的子目录中。
可以设置一个名为 DRONE_YAML 的无人机范围的环境选项;默认值为.drone.yml,因此如果您想将其移动到子目录build,然后将其添加到dronerc文件中:
.drone.yml
build
DRONE_YAML=build/.drone.yml
(未经测试,由无人机源代码推断)