ci: 仅在wiki文件更新时提交

This commit is contained in:
Rock Chin 2023-04-07 20:31:33 +08:00
parent 083cbc55cc
commit 12faaaced8

View File

@ -26,6 +26,8 @@ jobs:
- name: Commit and Push Changes
run: |
cd wiki
if git diff --name-only; then
git add .
git commit -m "Update wiki"
git push
fi