diff --git a/.github/workflows/host_docs.yaml b/.github/workflows/host_docs.yaml index 87a2e05..31cec20 100644 --- a/.github/workflows/host_docs.yaml +++ b/.github/workflows/host_docs.yaml @@ -40,11 +40,11 @@ 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 branch -m master main 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