Skip to content

Commit b2063b4

Browse files
committed
ci(docs): fix local doc branch name
1 parent 01977e8 commit b2063b4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1584,6 +1584,7 @@ jobs:
15841584
if: ${{ !contains('["pull_request", "merge_group"]', github.event_name) }}
15851585
run: |
15861586
cd ${{ runner.temp }}/book
1587+
git config --global init.defaultBranch main
15871588
git init
15881589
git config user.name "Deploy from CI"
15891590
git config user.email ""

ci/actions-templates/test-docs-template.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs: # skip-all
4444
if: ${{ !contains('["pull_request", "merge_group"]', github.event_name) }}
4545
run: |
4646
cd ${{ runner.temp }}/book
47+
git config --global init.defaultBranch main
4748
git init
4849
git config user.name "Deploy from CI"
4950
git config user.email ""

0 commit comments

Comments
 (0)