diff --git a/.github/workflows/build-assets.yml b/.github/workflows/build-assets.yml index 5ccb47a7f..91945f542 100644 --- a/.github/workflows/build-assets.yml +++ b/.github/workflows/build-assets.yml @@ -60,8 +60,7 @@ jobs: - name: Commit docs run: | cd rsshub-docs - COMMIT_HASH=$(git rev-parse HEAD) git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" git status - git diff-index --quiet HEAD || (git commit -m "chore: auto build\nUpdate from https://github.com/DIYgod/RSSHub/commit/$COMMIT_HASH" -a --no-verify && git push "https://${GITHUB_ACTOR}:${{ secrets.DOCS_API_TOKEN }}@github.com/RSSNext/rsshub-docs.git" HEAD:main) + git diff-index --quiet HEAD || (git commit -m "chore: auto build" -a --no-verify && git push "https://${GITHUB_ACTOR}:${{ secrets.DOCS_API_TOKEN }}@github.com/RSSNext/rsshub-docs.git" HEAD:main)