Deployments
Deployments are specific builds and releases of your Git Deploy projects. Each deployment is tied to a specific Git commit.
List Deployments
teenode deployment list proj_abc123Limit results:
teenode deployment list proj_abc123 --limit 5Create Deployment
teenode deployment create proj_abc123 \
--commit-sha abc123 \
--commit-message "Fix bug" \
--branch mainDeployment Status
QUEUED- Waiting in the build queueBUILDING- Docker image is being builtDEPLOYING- Built image is being deployedACTIVE- Deployment is live and serving requestsFAILED- Build or deployment failedCANCELED- Deployment was manually canceled
Get Deployment Details
teenode deployment info dep_xyz789With logs:
teenode deployment info dep_xyz789 --logsView Deployment Logs
teenode deployment logs dep_xyz789Last 50 lines:
teenode deployment logs dep_xyz789 --lines 50Follow logs in real-time (coming soon):
teenode deployment logs dep_xyz789 --followReal-time log following is coming in a future release.
Examples
View All Deployments
$ teenode deployment list proj_abc123
┌──────────────────┬──────────┬──────────────┬──────────────────┬──────────┐
│ ID │ Status │ Commit SHA │ Branch │ Created │
├──────────────────┼──────────┼──────────────┼──────────────────┼──────────┤
│ dep_xyz789 │ ● ACTIVE │ abc123def │ main │ 5m ago │
│ dep_uvw456 │ ● FAILED │ abc111def │ develop │ 2h ago │
└──────────────────┴──────────┴──────────────┴──────────────────┴──────────┘Create and Monitor Deployment
$ teenode deployment create proj_abc123 --commit-sha abc123
✓ Deployment created: dep_xyz789
⏳ Status: QUEUED
$ teenode deployment logs dep_xyz789 --follow
Building Docker image...
FROM node:18-alpine
WORKDIR /app
COPY . .
RUN npm install
...
✓ Build complete
✓ Deployment successful: https://my-app.teenode.comRelated Commands
- Projects CLI - Create and manage projects
- VMs CLI - Manage TEE VMs
- Deployments API - REST API reference