message: build-docs pipeline should only run in main
diff: # Licensed under the MIT License.
  # build-docs pipeline
  -# This pipeline builds the main/next branch docs each time the client packages are built
  +# This pipeline builds the main branch docs each time the client packages are built
  name: $(Build.BuildId)
  @@ -44,7 +44,6 @@ variables:
  - name: latestPipeline
  value: ${{ or(
  eq(variables['Build.SourceBranchName'], 'main'),
  - eq(variables['Build.SourceBranchName'], 'next'),
  eq(variables['Build.SourceBranchName'], 'pl-test')
  )}}
  - name: n1Branch
  @@ -57,20 +56,17 @@ variables:
  value: ${{ or(variables.releasePipeline, variables.n1Pipeline, variables.latestPipeline) }}
  - name: Packaging.EnableSBOMSigning
  value: true
  - - name: isMainOrNext
  - value: ${{ or(
  - eq(variables['Build.SourceBranchName'], 'main'),
  - eq(variables['Build.SourceBranchName'], 'next')
  - )}}
  + - name: isMain
  + value: ${{ eq(variables['Build.SourceBranchName'], 'main') }}
  - name: shouldDeploy
  value: ${{ or(
  eq(parameters.deployOverride, 'force'),
  - and(eq(variables.isMainOrNext, true), eq(parameters.deployOverride, 'default'))
  + and(eq(variables.isMain, true), eq(parameters.deployOverride, 'default'))
  )}}
  - name: shouldRetainGuardianAssets
  value: ${{ or(
  eq(parameters.guardianAssetRetentionOverride, 'force'),
  - and(eq(variables.isMainOrNext, true), eq(parameters.guardianAssetRetentionOverride, 'default'))
  + and(eq(variables.isMain, true), eq(parameters.guardianAssetRetentionOverride, 'default'))
  )}}
  - name: arrow.releasedtoproduction
  value: eq(variables.shouldDeploy, true)
  @@ -86,7 +82,6 @@ trigger:
  include:
  - release/*
  - main
  - - next
  pr: none
  resources:
  @@ -109,7 +104,6 @@ resources:
  branches:
  include:
  - main
  - - next
  - docs/**
  - pipeline: server
  source: server-routerlicious
  @@ -165,7 +159,7 @@ stages:
  parameters:
  STORAGE_ACCOUNT: $(STORAGE_ACCOUNT)
  STORAGE_KEY: $(STORAGE_KEY)
  - uploadAsLatest: ${{ variables.isMainOrNext }}
  + uploadAsLatest: ${{ variables.isMain }}
  - job: build_site
  displayName: 'Build website'
  