chore: enhance build process by adding git add command before commit

This commit is contained in:
DIYgod 2025-08-11 14:22:58 +08:00
parent e6905805dc
commit 2caafc7308
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -106,5 +106,6 @@ jobs:
cd rsshub-vercel
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add -A
git status
git diff-index --quiet HEAD || (git commit -m "chore: auto build https://github.com/$GITHUB_REPOSITORY/commit/$GITHUB_SHA" -a --no-verify && git push "https://${GITHUB_ACTOR}:${{ secrets.VERCEL_API_TOKEN }}@github.com/RSSNext/rsshub-vercel.git" HEAD:main)