Fix the upload docs action after renaming master to main (#30820)

This commit is contained in:
Martin Robinson 2023-12-04 11:51:52 +01:00 committed by GitHub
parent 396af7c563
commit 63701b338c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,6 +27,7 @@ jobs:
- name: Upload docs
run: |
cd target/doc
git config --global init.defaultBranch main
git init
git add .
git -c user.name="Workflow" -c user.email="" \