DocumentationTutorials

Deploy with AI agents and CI (Antigravity, Cursor, Claude Code, GitHub Actions)

Let an AI coding agent or a CI pipeline deploy your Vertlio website with a deploy key in VERTLIO_TOKEN, safely.

AI agents and CI servers can’t click Allow in a browser, so they use a deploy key you create yourself.

  1. 1Go to Settings → Deploy from a terminal → Or create a key yourself. Limit it to one website and give it an expiry: the safest choice for automation.
  2. 2Copy the key (shown once) and store it as the VERTLIO_TOKEN environment variable or a secret, never in your code or a chat.
  3. 3Run the same command: npx vertlio deploy --site <address>.

Instruction for an AI agent

Add to your agent’s rules (Antigravity, Cursor, Claude Code…)
To publish this website, run: npx vertlio deploy <the folder with index.html> --site adas-kitchen
The deploy key is in the VERTLIO_TOKEN environment variable. Never print it or write it into files.

GitHub Actions

.github/workflows/vertlio.yml
name: Deploy to Vertlio
on:
  push:
    branches: [main]
jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: 20
      - run: npm ci && npm run build   # skip for a plain HTML website
      - run: npx vertlio deploy --site adas-kitchen
        env:
          VERTLIO_TOKEN: ${{ secrets.VERTLIO_TOKEN }}

Add the key in your repository’s Settings → Secrets and variables → Actions as VERTLIO_TOKEN.

A deploy run by CI or an agent never asks questions: give it --site (or --name for a new website).

Still stuck? Ask Darasimi, our assistant (the chat bubble), watch the video tutorials, or email [email protected]: a real person replies.

All documentation