base44 deploy
Deploys all project resources (entities, functions, actors, agents, agent skills, connectors, and site) to Base44 in a single command.
Syntax
npx base44 deploy [options]Options
| Option | Description |
|---|---|
-y, --yes |
Skip confirmation prompt |
What It Deploys
The command automatically detects and deploys:
- Entities - All
.jsoncfiles inbase44/entities/ - Functions - All functions in
base44/functions/ - Actors - All realtime actors in
base44/actors/ - Agents - All agent configurations in
base44/agents/ - Agent Skills - All skill files in
base44/agent-skills/ - Connectors - All connector configurations in
base44/connectors/(added and updated, never removed) - Auth Config - Authentication settings from
base44/auth/(if present) - Visibility - App visibility (
public,private, orworkspace) from thevisibilityfield inbase44/config.jsonc(if set) - Site - Built files from
site.outputDirectory(if configured)
Examples
# Interactive mode - shows what will be deployed and asks for confirmation
npx base44 deploy
# Non-interactive - skip confirmation (for CI/CD or agent use)
npx base44 deploy -yTypical Workflow
# 1. Make your changes (entities, functions, frontend code)
# 2. Build the frontend (if you have one)
npm run build
# 3. Deploy everything
npx base44 deploy -yWhat It Does
- Reads project configuration from
base44/config.jsonc - Detects available resources (entities, functions, actors, agents, agent skills, connectors, site)
- Shows a summary of what will be deployed
- Asks for confirmation (unless
-yflag is used) - Deploys all resources in sequence:
- Sets app visibility (if configured)
- Pushes entity schemas
- Deploys functions
- Deploys actors
- Pushes agent skill files
- Pushes agent configurations
- Pushes auth configuration
- Pushes connector configurations
- Uploads site files
- Handles OAuth authorization for any new connectors that require it
- Displays the dashboard URL and app URL (if site was deployed)
Removed Resources
deploy never removes remote functions, actors, or connectors that aren't in your local files. To remove them, use functions deploy --force, actors delete, or connectors push --force. Entities, agents, and agent skills are fully synced, so remote ones missing locally are removed.
If a connector fails to sync, deploy fails after the rest of the resources and the site have shipped.
Connector OAuth Flow
If any connectors require authorization after deployment, the CLI will prompt you to open your browser to complete OAuth. In non-interactive environments (CI/CD, no TTY), OAuth prompts are skipped automatically.
Some connectors still require authorization. Run 'base44 connectors push' or open the links above in your browser.Requirements
- Must be run from a linked Base44 project directory
- Must be authenticated (run
npx base44 loginfirst) - For site deployment, must run
npm run buildfirst
Output
After successful deployment:
- Dashboard: Link to your app's management dashboard
- App URL: Your deployed site's public URL (if site was included)
Notes
- If no resources are found, the command exits with a message
- Use individual commands (
entities push,functions deploy,actors deploy,agents push,agent-skills push,connectors push,site deploy) if you only want to deploy specific resources - The site must be built before deployment - this command does not run
npm run buildfor you
Related Commands
| Command | Description |
|---|---|
base44 entities push |
Push only entities |
base44 functions deploy |
Deploy only functions |
base44 actors deploy |
Deploy only actors |
base44 agents push |
Push only agents |
base44 agent-skills push |
Push only agent skills |
base44 connectors push |
Push only connectors |
base44 auth push |
Push only auth config |
base44 site deploy |
Deploy only the site |
base44 visibility <level> |
Set only the app's visibility |