# Deploy

A deploy task deploys a build to an environment. The following options are available:

* **Proceed on Failure.** If enabled, the pipeline will continue executing when this step fails.
* **Target Environment:** Select the target environment type that should be use for this deployment. When the pipeline is executed the first environment of this type for the app will be automatically used as the target of the pipeline.
* **Select environment each time?** When selected, the user of the pipeline will need to select a specific environment when the pipeline is run.
* **Perform restart?** When selected, the target environment will be restarted after deploying the build package.

{% hint style="info" %}
If you select an environment type in this task, this cannot be changed by the user of the pipeline when creating a new release. If you want the user to be able to select a specific environment you must select 'select environment each time'.
{% endhint %}


---

# 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://docs.bluestorm.io/administration/pipelines/deploy.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.
