eai deploy
Manage deployments to Azure App Service.
Description
The eai deploy command group handles the full deployment lifecycle for your vertical application. It configures GitHub Actions workflows, triggers deployments, and monitors deployment status.
Subcommands
| Subcommand | Description |
|---|---|
eai deploy setup | Generate GitHub Actions workflow and configure secrets |
eai deploy trigger | Trigger a deployment |
eai deploy status | Check current deployment status |
eai deploy setup
Generate a GitHub Actions workflow and configure repository secrets for deployment.
Syntax
eai deploy setup [options]
Options
| Flag | Description | Required |
|---|---|---|
--repo <repo> | GitHub repository in org/name format | Yes |
Description
Sets up the deployment pipeline for your vertical application. This command:
- Generates a GitHub Actions workflow file (
.github/workflows/deploy.yml) configured for Azure App Service deployment. - Configures the necessary repository secrets in your GitHub repository (Azure credentials, environment variables, etc.).
You only need to run this command once per repository. After setup, use eai deploy trigger to initiate deployments.
Example
eai deploy setup --repo eai-tools/my-vertical
eai deploy trigger
Trigger a deployment of your vertical application.
Syntax
eai deploy trigger [options]
Description
Triggers the GitHub Actions deployment workflow configured by eai deploy setup. This initiates a build and deployment of your application to Azure App Service.
Example
eai deploy trigger
eai deploy status
Check the current deployment status.
Syntax
eai deploy status [options]
Description
Displays the current status of the most recent deployment, including build progress, deployment state, and any errors that occurred.
Example
eai deploy status
Deployment Workflow
A typical deployment follows this sequence:
# 1. Initial setup (one-time)
eai deploy setup --repo eai-tools/my-vertical
# 2. Deploy your application
eai deploy trigger
# 3. Monitor the deployment
eai deploy status
Related Commands
eai verify-- Verify platform connectivity before deployingeai env push-- Push environment configuration before deploymenteai doctor-- Diagnose issues that may affect deployment