Skip to content

Commit d91005c

Browse files
committed
build: improve logging for docs deployment targets (#25271)
This makes it easier to spot where the docs deploy job deploys to. (cherry picked from commit 039f532)
1 parent 8fac6fe commit d91005c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/docs-deploy/snapshot-deploy.mts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ export async function buildAndDeployWithSnapshots(
4242
targets: DeploymentInfo[],
4343
options: DeploymentConfig = {},
4444
) {
45+
console.log(`Building and deploying with snapshot builds.`);
46+
console.log(`The following deployment targets are defined:`);
47+
for (const target of targets) {
48+
console.log(` - ${target.projectId}:${target.site.firebaseSiteId} | ${target.site.remoteUrl}`);
49+
}
50+
4551
// Clone the docs repo.
4652
const docsRepoDir = await cloneDocsRepositoryForMajor(major);
4753

0 commit comments

Comments
 (0)