diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f8a7a15..4c180fe 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -20,11 +20,6 @@ jobs: - run: yarn install - - name: Configure git - run: | - git config user.name "[bot] gh-action deploy" - git config user.email "995905922@qq.com" - - name: Build run: | set -e @@ -36,6 +31,8 @@ jobs: GPA_TOKEN: ${{ secrets.GPA_TOKEN }} run: | cd docs/.vitepress/dist + git config --global user.name "[bot] gh-action deploy" + git config --global user.email "995905922@qq.com" git init git add -A git commit -m 'gh-action deploy'