diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 03c27f7..a691f37 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -60,8 +60,8 @@ jobs: if: steps.git-check.outputs.modified == 'true' working-directory: ${{ env.WEBSITE_CONTENT_DIR }} run: | - git config user.name ${{ github.event.head_commit.author.name }} - git config user.email ${{ github.event.head_commit.author.email }} + git config user.name "${{ github.event.head_commit.author.name }}" + git config user.email "${{ github.event.head_commit.author.email }}" git config -l | grep 'http\..*\.extraheader' | cut -d= -f1 | xargs -L1 git config --unset-all git remote set-url origin https://x-access-token:${{ secrets.GH_ACTION_TOKEN }}@github.com/${{ env.WEBSITE_CONTENT_REPO }} git commit -am "${{ github.event.head_commit.message }}"