mirror of
https://github.com/ai-robots-txt/ai.robots.txt.git
synced 2026-06-07 01:16:56 +02:00
Keep generated robot files in dark visitors update
This commit is contained in:
parent
aea7db9e34
commit
8d5a081a16
8 changed files with 30 additions and 11 deletions
9
.github/workflows/ai_robots_update.yml
vendored
9
.github/workflows/ai_robots_update.yml
vendored
|
|
@ -18,6 +18,8 @@ jobs:
|
|||
git config --global user.email "dark-visitors@users.noreply.github.com"
|
||||
echo "Updating robots.json with data from darkvisitor.com ..."
|
||||
python code/robots.py --update
|
||||
echo "Updating generated files from robots.json ..."
|
||||
python code/robots.py --convert
|
||||
echo "... done."
|
||||
git --no-pager diff
|
||||
git add -A
|
||||
|
|
@ -29,10 +31,3 @@ jobs:
|
|||
echo "No changes to commit."
|
||||
fi
|
||||
shell: bash
|
||||
convert:
|
||||
name: convert
|
||||
needs: dark-visitors
|
||||
uses: ./.github/workflows/main.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
message: "Update from Dark Visitors"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue