@@ -5,7 +5,7 @@ Copy definitions
5
5
release_tag = "${TAG}"
6
6
source_url = "https://github.com/mongodb/mongodb-atlas-cli.git"
7
7
destination_url = "https://github.com/10gen/cloud-docs.git"
8
- destination_url_cli_docs = "https://github.com/mongodb /docs-atlas-cli .git"
8
+ destination_url_cli_docs = "https://github.com/10gen /docs-mongodb-internal .git"
9
9
author = "apix-bot[bot] <168195273+apix-bot[bot]@users.noreply.github.com>"
10
10
11
11
core.workflow(
@@ -39,16 +39,16 @@ core.workflow(
39
39
),
40
40
destination = git.github_pr_destination(
41
41
url = destination_url_cli_docs,
42
- destination_ref = "master ",
42
+ destination_ref = "main ",
43
43
pr_branch = "apix_bot_copybara_pull_request_"+release_tag,
44
44
title = "Copies Atlas CLI commands for release tag: " + release_tag,
45
45
body = "Copies Atlas CLI commands from the source repo. See the attached Netlify comment for build log and staging.",
46
46
integrates = [],
47
47
),
48
48
origin_files = glob(["docs/command/**"]),
49
- destination_files = glob(["source/command/**"], exclude=["source/command/atlas-api", "source/command/atlas-kubernetes**"]),
49
+ destination_files = glob(["content/atlas-cli/current/ source/command/**"], exclude=["content/atlas-cli/current/ source/command/atlas-api", "content/atlas-cli/current/ source/command/atlas-kubernetes**"]),
50
50
authoring = authoring.pass_thru(author),
51
51
transformations = [
52
- core.move("docs/command", "source/command"),
52
+ core.move("docs/command", "content/atlas-cli/current/ source/command"),
53
53
],
54
54
)
0 commit comments