From 14ac418a4fa8d35bfd50c32535c848fc5ef547f6 Mon Sep 17 00:00:00 2001 From: Paul Abel <128620221+pdabelf5@users.noreply.github.com> Date: Fri, 6 Dec 2024 12:18:25 +0000 Subject: [PATCH] prevent auto publishing docs on push to release branch (#6926) --- .github/workflows/docs-build-push.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docs-build-push.yml b/.github/workflows/docs-build-push.yml index 9a0b05d7a3..215fe5141e 100644 --- a/.github/workflows/docs-build-push.yml +++ b/.github/workflows/docs-build-push.yml @@ -17,14 +17,17 @@ on: required: false default: '' type: string + workflow_call: + inputs: + environment: + description: "Environment to deploy to" + required: true + type: string pull_request: branches: - "*" paths: - "site/**" - push: - branches: - - "release-3.7" permissions: contents: read @@ -43,8 +46,6 @@ jobs: doc_type: "hugo" environment: ${{ inputs.environment }} force_hugo_theme_version: ${{inputs.hugo_theme_override}} - auto_deploy_branch: "release-3.7" - auto_deploy_env: "prod" secrets: AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS_DOCS }} AZURE_KEY_VAULT: ${{ secrets.AZURE_KEY_VAULT_DOCS }}