Skip to content

Multilanguage deploy to multiple S3 buckets (root) #10156

Open
@lafraia

Description

@lafraia

Ref #5930 (comment)

It seems that you can point a destination path but not use correctly with multi-language deployment.

The following config will copy local files to en/ destination instead of / (root). I'm probably missing something, but is it a deployment variable where I could specify the correct destination root?

[deployment]
[[deployment.targets]]
name = "domain.com"
URL = "s3://domain.com?region=us-east-1"
include = "en/**"
[[deployment.targets]]
name = "domain.com.br"
URL = "s3://domain.com.br?region=us-east-1"
include = "pt-br/**"

[languages]
  [languages.pt-br]
    baseURL = 'https://domain.com.br'
    contentDir = 'content/pt-br'
  [languages.en]
    baseURL = 'https://domain.com'
   contentDir = 'content/en'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions