diff --git a/.github/workflows/host_docs.yaml b/.github/workflows/host_docs.yaml index 31cec20..c7bd498 100644 --- a/.github/workflows/host_docs.yaml +++ b/.github/workflows/host_docs.yaml @@ -40,11 +40,12 @@ jobs: - name: Init new repo in dist folder and commit generated files run: | + cd docs/build/html/ git init git branch -m master main - cd docs/build/html/ touch .nojekyll git add -A + git config --global init.defaultBranch master git config --local user.email "action@github.com" git config --local user.name "GitHub Action" git config --system --add safe.directory /github/workspace/docs/build/html