From 49740a0da15ce0a5e60231d22f898ef151be1e81 Mon Sep 17 00:00:00 2001 From: Amir Mardan <46511946+AmirMardan@users.noreply.github.com> Date: Wed, 27 Mar 2024 19:57:24 -0400 Subject: [PATCH] fix a bug --- .github/workflows/static.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }}