Skip to content

Commit

Permalink
prevent deployment to legacy docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cmpadden committed Jan 23, 2025
1 parent 1b97142 commit 987e3d2
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit 987e3d2

Please sign in to comment.