mirror of
https://github.com/ai-robots-txt/ai.robots.txt.git
synced 2025-04-19 00:26:01 +00:00
log the diff in the update action daily_update.yml
This commit is contained in:
parent
04f630f7f8
commit
cfaade6e2f
1 changed files with 2 additions and 1 deletions
1
.github/workflows/daily_update.yml
vendored
1
.github/workflows/daily_update.yml
vendored
|
@ -16,6 +16,7 @@ jobs:
|
||||||
git config --global user.name "dark-visitors"
|
git config --global user.name "dark-visitors"
|
||||||
git config --global user.email "dark-visitors@users.noreply.github.com"
|
git config --global user.email "dark-visitors@users.noreply.github.com"
|
||||||
python code/dark_visitors.py
|
python code/dark_visitors.py
|
||||||
|
git --no-pager diff
|
||||||
git add -A
|
git add -A
|
||||||
git diff --quiet && git diff --staged --quiet || (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
|
shell: bash
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue