chore(core): fix docs release (#22430)
This commit is contained in:
parent
85ba3f9ae0
commit
a059f1ae7b
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@ -275,7 +275,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
# The GITHUB_REF_NAME is a full version (i.e. 17.3.2). The branchName will only use the major version number.
|
# The GITHUB_REF_NAME is a full version (i.e. 17.3.2). The branchName will only use the major version number.
|
||||||
# We will publish docs to the website branch based on the current tag (i.e. website-17)
|
# We will publish docs to the website branch based on the current tag (i.e. website-17)
|
||||||
branchName=website-${$GITHUB_REF_NAME%.*.*}
|
branchName=website-${GITHUB_REF_NAME%.*.*}
|
||||||
# We force recreate the branch in order to always be up to date and avoid merge conflicts within the automated workflow
|
# We force recreate the branch in order to always be up to date and avoid merge conflicts within the automated workflow
|
||||||
git branch -f $branchName
|
git branch -f $branchName
|
||||||
git push -f origin $branchName
|
git push -f origin $branchName
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user