chore: remove wrong commit hash for rsshub-docs

This commit is contained in:
Tony 2024-03-22 13:09:28 +08:00
parent 5b769aaac2
commit 7bb23d991c
1 changed files with 1 additions and 2 deletions

View File

@ -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)