|
12 | 12 | branches:
|
13 | 13 | # Branch to base "dev" website on. Set in siteversion.py also.
|
14 | 14 | - master
|
15 | | - # Release branches have names like v0.35.x, 0.36.x, ... |
16 | | - - "v[0-9]+.[0-9]+.x" |
| 15 | + # Release branches have names like 0.8.x, 0.9.x, ... |
| 16 | + - "[0-9]+.[0-9]+.x" |
17 | 17 | paths:
|
18 | 18 | - "docs/**"
|
19 | 19 | - ".github/workflows/deploy-cobra-mkdocs-versioned-poetry.ya?ml"
|
|
38 | 38 | - name: Determine if documentation should be published on this workflow run
|
39 | 39 | id: determination
|
40 | 40 | run: |
|
41 | | - RELEASE_BRANCH_REGEX="refs/heads/v[0-9]+.[0-9]+.x" |
| 41 | + RELEASE_BRANCH_REGEX="refs/heads/[0-9]+.[0-9]+.x" |
42 | 42 | if [[ "${{ github.event_name }}" == "push" || ( "${{ github.event_name }}" == "create" && "${{ github.ref }}" =~ $RELEASE_BRANCH_REGEX ) ]]; then
|
43 | 43 | RESULT="true"
|
44 | 44 | else
|
|
0 commit comments