From 987e3d26a64836e3aa76596924fe6448be2ca917 Mon Sep 17 00:00:00 2001 From: Colton Padden Date: Thu, 23 Jan 2025 14:46:25 -0500 Subject: [PATCH] prevent deployment to legacy docs --- .github/workflows/build-docs.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 380d7f3e6da40..dc72aca956dd5 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -2,22 +2,23 @@ name: Deploy Docs on: push: branches: - - master - - "release-*" # older verions of the docs - - docs-prod # prod - paths: - - docs/** - - "!docs/docs-beta/**" # Exclude docs-beta - - examples/docs_snippets/** - - CHANGES.md - - .github/workflows/build-docs.yml - pull_request: + # - master + # - "release-*" # older verions of the docs + # - docs-prod # prod + - "legacy-docs-release-*" # older verions of the docs paths: - docs/** - "!docs/docs-beta/**" # Exclude docs-beta - examples/docs_snippets/** - CHANGES.md - .github/workflows/build-docs.yml + # pull_request: + # paths: + # - docs/** + # - "!docs/docs-beta/**" # Exclude docs-beta + # - examples/docs_snippets/** + # - CHANGES.md + # - .github/workflows/build-docs.yml concurrency: # Cancel in-progress runs on same branch group: ${{ github.workflow}}-${{github.ref}}