﻿---
title: assembler deploy apply cli command
description: Upload the changes described in a plan file to S3. Run after assembler deploy plan. Applies the pre-computed diff to the S3 bucket. 
url: https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2927/cli/assembler/deploy/apply
products:
  - Elastic Docs Builder
---

# assembler deploy apply cli command
```bash
docs-builder assembler deploy apply \
  --environment <string> \
  --s3-bucket-name <string> \
  --plan-file <file>
```

<warning>
  **Destructive operation** — changes made by this command cannot be undone.
</warning>
> Authentication is required.> Scope: `global`.
Upload the changes described in a plan file to S3.

## Options

<definitions>
  <definition term="--environment string required">
    Named deployment target.
  </definition>
  <definition term="--s3-bucket-name string required">
    S3 bucket to deploy to.
  </definition>
  <definition term="--plan-file string required">
    Path to the plan file produced by assembler deploy plan.
    **Constraints:** symbolic links not allowed, must exist, extensions: json, plan, supports `~` home expansion
  </definition>
  <definition term="-l --log-level enum">
    Minimum log level.
    **Values:** trace, debug, information, warning, error, critical, none
    **Default:** `information`
  </definition>
  <definition term="-c --config-source enum">
    Override the configuration source: local, remote
    **Values:** local, remote, embedded
  </definition>
  <definition term="--[no-]skip-private-repositories">
    Skip cloning private repositories
  </definition>
</definitions>


## Notes

Run after assembler deploy plan. Applies the pre-computed diff to the S3 bucket.