diff --git a/scripts/docs-deploy/clone-docs-repo.ts b/scripts/docs-deploy/clone-docs-repo.ts index 5989fc038a1b..6635a4d65d47 100644 --- a/scripts/docs-deploy/clone-docs-repo.ts +++ b/scripts/docs-deploy/clone-docs-repo.ts @@ -58,6 +58,5 @@ async function hasUpstreamDocsBranch(branchName: string): Promise { * https://docs.google.com/document/d/1xkrSOFa6WeFqyg1cTwMhl_wB8ygbVwdSxr3K2-cps14/edit#heading=h.nsf3ag63jpwu. */ function getDocsBranchNameForMajor(major: number): string { - return 'firebase-target'; - // TODO return `${major}.x`; + return `${major}.x`; } diff --git a/scripts/docs-deploy/utils.ts b/scripts/docs-deploy/utils.ts index 666df9fb6ccb..51760025b03d 100644 --- a/scripts/docs-deploy/utils.ts +++ b/scripts/docs-deploy/utils.ts @@ -15,18 +15,18 @@ export class SiteTarget { /** Object capturing all site targets for the docs-app. */ export const sites = { - stable: new SiteTarget('ng-comp-test', 'https://ng-comp-test.firebaseapp.com'), - next: new SiteTarget('next-ng-comp-test', 'https://next-ng-comp-test.firebaseapp.com'), - rc: new SiteTarget('rc-ng-comp-test', 'https://rc-ng-comp-test.firebaseapp.com'), + stable: new SiteTarget('latest-material-angular-io', 'https://material.angular.io'), + next: new SiteTarget('next-material-angular-io', 'https://next.material.angular.io'), + rc: new SiteTarget('rc-material-angular-io', 'https://rc.material.angular.io'), forMajor: (major: number) => - new SiteTarget(`v${major}-ng-comp-test`, `https://v${major}-ng-comp-test.firebaseapp.com`), + new SiteTarget(`v${major}-material-angular-io`, `https://v${major}.material.angular.io`), }; /** Configuration describing the Firebase project that we deploy to. */ export const firebaseConfig = { - projectId: 'angular-components-test', - serviceKey: process.env.DOCS_SITE_FIREBASE_SERVICE_KEY!, + projectId: 'material-angular-io', + serviceKey: process.env.DOCS_SITE_GCP_SERVICE_KEY!, }; /** Finds and parsed the `package.json` of the specified project directory. */