393 B
393 B
本文作者:丁辉
MAC安装Drone客户端
-
使用 Homebrew 安装 Drone命令
brew tap drone/drone brew install drone
-
使用命令触发 Drone 构建
curl -X POST \ -H "Authorization: Bearer $YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ https://your.drone.instance/api/repos/用户/仓库名/builds