codex update-redirects cli command
docs-builder codex update-redirects <config> [options]
Push the codex redirects mapping to CloudFront's KeyValueStore.
<config>stringrequired-
Path to the codex.yml configuration file (used to resolve the environment).
Constraints: symbolic links not allowed, must exist, extensions: yml, yaml, supports
~home expansion
--environmentstring- Named deployment target. Defaults to the value in codex.yml or the ENVIRONMENT env var.
--redirects-filestring-
Path to redirects.json. Defaults to .artifacts/codex/docs/redirects.json.
Constraints: symbolic links not allowed, must exist, extensions: json, supports
~home expansion -l--log-levelenum-
Minimum log level.
Values: trace, debug, information, warning, error, critical, none
Default:
information -c--config-sourceenum-
Override the configuration source: local, remote
Values: local, remote, embedded
--[no-]skip-private-repositories- Skip cloning private repositories
Run after codex build produces a redirects.json.