mirror of
https://github.com/ai-robots-txt/ai.robots.txt.git
synced 2025-04-04 19:13:57 +00:00
skip push if no change
This commit is contained in:
parent
01edb6c78c
commit
379c339f97
1 changed files with 2 additions and 2 deletions
4
.github/workflows/daily_update.yml
vendored
4
.github/workflows/daily_update.yml
vendored
|
@ -16,7 +16,7 @@ jobs:
|
|||
git config --global user.name "dark-visitors"
|
||||
git config --global user.email "dark-visitors@users.noreply.github.com"
|
||||
python code/dark_visitors.py
|
||||
|
||||
git add -A
|
||||
git commit -m "Daily update from Dark Visitors"
|
||||
git push
|
||||
git diff --quiet && git diff --staged --quiet || (git commit -m "Daily update from Dark Visitors" && git push)
|
||||
shell: bash
|
Loading…
Reference in a new issue