Skip to content

Commit 012e47a

Browse files
committed
Initialize git repository with main branch in Javadoc deployment workflow
1 parent feace48 commit 012e47a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-and-deploy-javadoc.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
7171
- name: Fetch and checkout the specific commit
7272
run: |
73-
git init processing4
73+
git init --initial-branch=main processing4
7474
cd processing4
7575
git remote add origin ${{ env.REMOTE_URL }}
7676
git fetch --depth 1 origin ${{ env.commit_sha }}

0 commit comments

Comments
 (0)