Skip to main content

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

SubcommandDescription
eai deploy setupGenerate GitHub Actions workflow and configure secrets
eai deploy triggerTrigger a deployment
eai deploy statusCheck current deployment status

eai deploy setup

Generate a GitHub Actions workflow and configure repository secrets for deployment.

Syntax

eai deploy setup [options]

Options

FlagDescriptionRequired
--repo <repo>GitHub repository in org/name formatYes

Description

Sets up the deployment pipeline for your vertical application. This command:

  1. Generates a GitHub Actions workflow file (.github/workflows/deploy.yml) configured for Azure App Service deployment.
  2. 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
  • eai verify -- Verify platform connectivity before deploying
  • eai env push -- Push environment configuration before deployment
  • eai doctor -- Diagnose issues that may affect deployment