Skip to content

Commit ed3baeb

Browse files
committed
Update to use new github/docs-early-access repo
1 parent 4868f97 commit ed3baeb

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

script/clone-early-access.js

+5-4
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ const yaml = require('js-yaml')
2626
const eaConfig = yaml.load(fs.readFileSync(path.join(process.cwd(), 'ea-config.yml'), 'utf8'))
2727

2828
// Early Access details
29-
const earlyAccessOwner = 'docs'
30-
const earlyAccessDir = 'early-access-test'
31-
const earlyAccessFullRepo = `https://${DOCUBOT_REPO_PAT}@github.com/${earlyAccessOwner}/${earlyAccessDir}`
29+
const earlyAccessOwner = 'github'
30+
const earlyAccessRepo = 'docs-early-access'
31+
const earlyAccessDir = 'early-access'
32+
const earlyAccessFullRepo = `https://${DOCUBOT_REPO_PAT}@github.com/${earlyAccessOwner}/${earlyAccessRepo}`
3233
const earlyAccessContentDir = path.join(process.cwd(), 'content', earlyAccessDir)
3334

3435
// Production vs. staging environment
@@ -41,7 +42,7 @@ const earlyAccessBranch = HEROKU_PRODUCTION_APP ? eaConfig.EA_PRODUCTION_BRANCH
4142
// Confirm that the branch exists in the remote
4243
const branchExists = execSync(`git ls-remote --heads ${earlyAccessFullRepo} ${earlyAccessBranch}`).toString()
4344
if (!branchExists) {
44-
console.log(`The branch '${earlyAccessBranch}' was not found in ${earlyAccessOwner}/${earlyAccessDir}. Exiting!`)
45+
console.log(`The branch '${earlyAccessBranch}' was not found in ${earlyAccessOwner}/${earlyAccessRepo}. Exiting!`)
4546
process.exit(0)
4647
}
4748

0 commit comments

Comments
 (0)