refactor(docs-infra): create `logSectionHeader()` helper in `deploy-to-firebase` script (#43963)
refactor(docs-infra): create `logSectionHeader()` helper in `deploy-to-firebase` script (#43963)

Create a `logSectionHeader()` helper function to avoid duplicating code.

PR Close #43963

JiaLiPassion/angular,gkalpak/angular,manekinekko/angular,angular-indonesia/angular,brandonroberts/angular,manekinekko/angular,angular/angular,gkalpak/angular,gnomeontherun/angular,gnomeontherun/angular,angular-indonesia/angular,brandonroberts/angular,manekinekko/angular,gnomeontherun/angular,ocombe/angular,angular-indonesia/angular,manekinekko/angular,brandonroberts/angular,ocombe/angular,ocombe/angular,angular/angular,JiaLiPassion/angular,ocombe/angular,brandonroberts/angular,ocombe/angular,shairez/angular,shairez/angular,angular-indonesia/angular,angular/angular,angular/angular,shairez/angular,JiaLiPassion/angular,gkalpak/angular,gkalpak/angular,manekinekko/angular,manekinekko/angular,ocombe/angular,brandonroberts/angular,shairez/angular,shairez/angular,gnomeontherun/angular,brandonroberts/angular,JiaLiPassion/angular