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

22 lines
393 B
Markdown

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