diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index cb22b01..e78baf9 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -50,8 +50,8 @@ jobs: git config --local user.email "action@github.com" git config --local user.name "GitHub Action" git commit -m 'deploy' - git config --local --add safe.directory /github/workspace/docs/_build/html - - name: Force push to destination branch + git config --global --add safe.directory /github/workspace/docs/_build/html + - name: Force push to destination branch uses: ad-m/github-push-action@v0.5.0 with: github_token: ${{ secrets.GITHUB_TOKEN }}