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.
- 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.
- 2Copy the key (shown once) and store it as the
VERTLIO_TOKENenvironment variable or a secret, never in your code or a chat. - 3Run the same command:
npx vertlio deploy --site <address>.
Instruction for an AI agent
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
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.