﻿---
title: assembler deploy update-redirects
description: Refreshes the redirects mapping in Cloudfront's KeyValueStore 
url: https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2824/cli/assembler/assembler-deploy-update-redirects
---

# assembler deploy update-redirects
Refreshes the redirects mapping in Cloudfront's KeyValueStore

## Usage

```
docs-builder assembler deploy update-redirects [options...] [-h|--help] [--version]
```


## Options

<definitions>
  <definition term="--environment <string>">
    The environment to build (Required)
  </definition>
  <definition term="--redirects-file <string>">
    Path to the redirects mapping pre-generated by docs-builder assemble (optional)
  </definition>
</definitions>