Skip to content

Commit

Permalink
chore: 更新GitHub Actions工作流以使用自定义Git用户信息推送版本更新
Browse files Browse the repository at this point in the history
  • Loading branch information
wuwei committed Sep 29, 2024
1 parent a5335c1 commit 7853ec7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ jobs:
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
run: |
echo ${{ steps.version.outputs.new-version }} > VERSION
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git config --global user.name 'wu529778790'
git config --global user.email '529778790@qq.com'
git remote set-url origin https://${GIT_TOKEN}@github.com/${{ github.repository }}
git add VERSION
git commit -m "chore: bump version to ${{ steps.version.outputs.new-version }}"
Expand Down

0 comments on commit 7853ec7

Please sign in to comment.