Automation & CI
JSON Output
r2drop status --json
r2drop accounts --json
r2drop queue --json
r2drop history --limit 50 --json
r2drop upload ./release.tar.gz --jsonShell Script Example
#!/bin/bash
set -e
# Build your project
npm run build
# Upload the dist folder
OUTPUT=$(r2drop upload ./dist --json)
# Extract the public URL (requires jq)
URL=$(echo "$OUTPUT" | jq -r '.url')
echo "Deployed to: $URL"GitHub Actions Example
Makefile Example
Environment Variables
Checking Status Before Uploading
Troubleshooting
r2drop: command not found
r2drop: command not foundNo account specified or Account not found
No account specified or Account not foundhas no bucket configured
has no bucket configuredNo token for ... / Keychain errors
No token for ... / Keychain errorsLast updated