# Deployment from Repos

To package and **deploy** a component from repository to any environment specify the target (`/DstEnv`) environment, only, and **omit the `/SrcEnv` option** - source is always the repository.

{% hint style="success" %}
The `DEPLOY EXEC` command will automatically and always create a version for your deployed component:

`yyyy-MM-dd-<UserIdent>.<YourSeqNo:00>`

`SeqNo` will be calculated based on your number of deployments from today.\
The `UserIdent`comes from your [user configuration](https://github.com/MarkusSchmidtPro/MSPro.Boomi.Console/blob/main/doc/commands/deploy/deploy-info/broken-reference/README.md).
{% endhint %}

```
bc deploy exec -DstEnv 01-DEV 
  {/c <ComponentID> | /p <ComponentPackageFileName>} 
  -DeploymentNote "This is my deplyoment" 
  -PackagedComponentNote "This is a package note"
```

<figure><img src="/files/1H1uJ2CVj0y47he1iFfk" alt=""><figcaption><p>Deployment History</p></figcaption></figure>

<figure><img src="/files/B2BrGb0KrHLqk3CNEAQ3" alt=""><figcaption><p>Packaged Components</p></figcaption></figure>

If you use [Component Set](/boomi-console/library/packages.md) you can pefectly see that all components within a package are packaged and deplyoed using the same (Component) Package version:

<figure><img src="/files/E6u0f27eirG4e9m732Io" alt=""><figcaption><p>Two components in a Component Package, using Component Package deployments</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://boomi.markusschmidt.pro/boomi-console/commands/deploy/deploy-info/deployment-from-repos.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
