Skip to content

Commit 82530ba

Browse files
updating copybara config (#3968)
1 parent 4366ae8 commit 82530ba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build/ci/copy.bara.sky.template

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Copy definitions
55
release_tag = "${TAG}"
66
source_url = "https://github.com/mongodb/mongodb-atlas-cli.git"
77
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"
99
author = "apix-bot[bot] <168195273+apix-bot[bot]@users.noreply.github.com>"
1010

1111
core.workflow(
@@ -39,16 +39,16 @@ core.workflow(
3939
),
4040
destination = git.github_pr_destination(
4141
url = destination_url_cli_docs,
42-
destination_ref = "master",
42+
destination_ref = "main",
4343
pr_branch = "apix_bot_copybara_pull_request_"+release_tag,
4444
title = "Copies Atlas CLI commands for release tag: " + release_tag,
4545
body = "Copies Atlas CLI commands from the source repo. See the attached Netlify comment for build log and staging.",
4646
integrates = [],
4747
),
4848
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**"]),
5050
authoring = authoring.pass_thru(author),
5151
transformations = [
52-
core.move("docs/command", "source/command"),
52+
core.move("docs/command", "content/atlas-cli/current/source/command"),
5353
],
5454
)

0 commit comments

Comments
 (0)