File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -26,9 +26,10 @@ const yaml = require('js-yaml')
26
26
const eaConfig = yaml . load ( fs . readFileSync ( path . join ( process . cwd ( ) , 'ea-config.yml' ) , 'utf8' ) )
27
27
28
28
// 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 } `
32
33
const earlyAccessContentDir = path . join ( process . cwd ( ) , 'content' , earlyAccessDir )
33
34
34
35
// Production vs. staging environment
@@ -41,7 +42,7 @@ const earlyAccessBranch = HEROKU_PRODUCTION_APP ? eaConfig.EA_PRODUCTION_BRANCH
41
42
// Confirm that the branch exists in the remote
42
43
const branchExists = execSync ( `git ls-remote --heads ${ earlyAccessFullRepo } ${ earlyAccessBranch } ` ) . toString ( )
43
44
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!` )
45
46
process . exit ( 0 )
46
47
}
47
48
You can’t perform that action at this time.
0 commit comments