mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-28 03:49:31 +00:00
fix(digitalocean): use canonical DIGITALOCEAN_ACCESS_TOKEN env var (#3099)
Replaces all references to DO_API_TOKEN with DIGITALOCEAN_ACCESS_TOKEN, matching DigitalOcean's official CLI and API documentation. This includes TypeScript source, tests, shell scripts, Packer config, CI workflows, and documentation. Supersedes #3068 (rebased onto current main). Agent: pr-maintainer Co-authored-by: B <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
b9473f25b8
commit
0bd8930c09
16 changed files with 147 additions and 60 deletions
|
|
@ -206,7 +206,7 @@ export OPENROUTER_API_KEY=sk-or-v1-xxxxx
|
|||
# Cloud-specific credentials (varies by provider)
|
||||
# Note: Sprite uses `sprite login` for authentication
|
||||
export HCLOUD_TOKEN=... # For Hetzner
|
||||
export DO_API_TOKEN=... # For DigitalOcean
|
||||
export DIGITALOCEAN_ACCESS_TOKEN=... # For DigitalOcean
|
||||
|
||||
# Run non-interactively
|
||||
spawn claude hetzner
|
||||
|
|
@ -258,7 +258,7 @@ If spawn fails to install, try these steps:
|
|||
2. **Set credentials via environment variables** before launching:
|
||||
```powershell
|
||||
$env:OPENROUTER_API_KEY = "sk-or-v1-xxxxx"
|
||||
$env:DO_API_TOKEN = "dop_v1_xxxxx" # For DigitalOcean
|
||||
$env:DIGITALOCEAN_ACCESS_TOKEN = "dop_v1_xxxxx" # For DigitalOcean
|
||||
$env:HCLOUD_TOKEN = "xxxxx" # For Hetzner
|
||||
spawn openclaw digitalocean
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue