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 91ebfaa commit a5335c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
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'
echo $GIT_TOKEN | git credential approve
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 }}"
git push
Expand Down

0 comments on commit a5335c1

Please sign in to comment.