diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index fcd3eaa..e8fcebc 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -24,8 +24,9 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | cd public - git config --local user.name "$GITHUB_ACTOR" - git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com" + git config --global --add safe.directory "$GITHUB_WORKSPACE" + git config --global user.name "$GITHUB_ACTOR" + git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com" GIT_WORK_TREE=. git checkout --orphan gh-pages GIT_WORK_TREE=. git add . GIT_WORK_TREE=. git commit -m 'pages'