mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-22 12:26:08 +00:00
ci: 仅在wiki文件更新时提交
This commit is contained in:
@@ -26,6 +26,8 @@ jobs:
|
|||||||
- name: Commit and Push Changes
|
- name: Commit and Push Changes
|
||||||
run: |
|
run: |
|
||||||
cd wiki
|
cd wiki
|
||||||
git add .
|
if git diff --name-only; then
|
||||||
git commit -m "Update wiki"
|
git add .
|
||||||
git push
|
git commit -m "Update wiki"
|
||||||
|
git push
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user