Files
System/MacBook/MAC安装Drone客户端.md
offends d12a206210
Some checks failed
continuous-integration/drone Build is failing
synchronization
2025-08-25 16:02:49 +08:00

393 B

本文作者:丁辉

MAC安装Drone客户端

  1. 使用 Homebrew 安装 Drone命令

    brew tap drone/drone
    brew install drone
    
  2. 使用命令触发 Drone 构建

    curl -X POST \
      -H "Authorization: Bearer $YOUR_API_TOKEN" \
      -H "Content-Type: application/json" \
      https://your.drone.instance/api/repos/用户/仓库名/builds