> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Deploy Once • AI Agents Framework

> deploy_once: Execute a single deployment immediately.

# deploy\_once

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**DeploymentScheduler**](../classes/DeploymentScheduler) class in the [**scheduler**](../modules/scheduler) module.

Execute a single deployment immediately.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def deploy_once() -> bool
```

### Returns

<ResponseField name="Returns" type="bool">
  The result of the operation.
</ResponseField>

## Uses

* `deployer.deploy`
* `logger.error`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai/praisonai/scheduler.py#L159">
  `praisonai/scheduler.py` at line 159
</Card>
