Skip to content

Commit 3154508

Browse files
Merge pull request #6974 from Shopify/fix-create-doc-pr
Fix create-doc-pr script
2 parents 0c38fec + 6487bef commit 3154508

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

bin/create-doc-pr.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ async function createPR() {
2222
files[`areas/platforms/shopify-dev/db/data/docs/templated_apis/shopify_cli/${fileName}`] = (await readFile(path.join(generatedDirectory, fileName))).toString()
2323
}
2424

25-
await withOctokit("shopify", async (octokit) => {
25+
await withOctokit("shop", async (octokit) => {
2626
const response = await octokit
2727
.createPullRequest({
28-
owner: "shopify",
29-
repo: "shopify-dev",
28+
owner: "shop",
29+
repo: "world",
3030
title: `[CLI] Update docs for version: ${version}`,
3131
body: `We are updating the CLI documentation with the contents of the recently released version of the Shopify CLI [${version}](https://www.npmjs.com/package/@shopify/cli/v/${version})`,
3232
head: `shopify-cli-${version}`,
@@ -43,7 +43,7 @@ async function createPR() {
4343
})
4444

4545
if (response) {
46-
console.log(`PR URL: https://github.com/shopify/shopify-dev/pull/${response.data.number}`)
46+
console.log(`PR URL: https://github.com/shop/world/pull/${response.data.number}`)
4747
} else {
4848
console.log("No changes detected, PR not created.")
4949
}

0 commit comments

Comments
 (0)