mirror of
https://github.com/ai-robots-txt/ai.robots.txt.git
synced 2025-04-04 19:13:57 +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
3
.github/workflows/daily_update.yml
vendored
3
.github/workflows/daily_update.yml
vendored
|
@ -16,6 +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 --no-pager diff
|
||||
git add -A
|
||||
git diff --quiet && git diff --staged --quiet || (git commit -m "Daily update from Dark Visitors" && git push)
|
||||
shell: bash
|
||||
|
@ -24,4 +25,4 @@ jobs:
|
|||
uses: ./.github/workflows/main.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
message: "Daily update from Dark Visitors"
|
||||
message: "Daily update from Dark Visitors"
|
||||
|
|
Loading…
Reference in a new issue