Deploy tokens & CI
aloof tokens create -a my-app --expiry 90d # app-scoped (or --org for every app in the account) aloof tokens list ; aloof tokens revoke tok_...
A deploy token (dt_...) can deploy, scale, set secrets and read logs for its app, including the app's previews and worker groups. It can't manage tokens, billing, auth or admin endpoints. New tokens can't destroy: they can't delete apps, volumes, databases or snapshots, or restore backups (403). If a pipeline really needs that, create the token with aloof tokens create -a my-app --allow-destroy (API: "can_destroy": true). Tokens created before October 26, 2026 keep destroy rights. aloof tokens list shows a DESTROY column and marks those older tokens yes*, the dashboard's API keys list flags them, and GET /v1/tokens returns can_destroy and legacy_destroy. Unless a pipeline needs to delete things, create a new token, update your CI secret, then revoke the old one. Expired or revoked tokens stop working immediately, and the audit log records which token did what.
GitHub Actions
name: deploy
on: {push: {branches: [main]}}
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: sachinchandra/aloof/.github/actions/deploy@main
with:
token: ${{ secrets.ALOOF_API_TOKEN }}
# app: my-app (defaults to aloof.toml)
Or skip the action: curl -fsSL https://api.aloof.si/cli/aloof -o aloof && ALOOF_API_TOKEN=... python3 aloof deploy.