mirror of
https://github.com/ai-robots-txt/ai.robots.txt.git
synced 2025-04-19 08:26:02 +00:00
commit
8e98cc6049
4 changed files with 5 additions and 4 deletions
5
.github/workflows/ai_robots_update.yml
vendored
5
.github/workflows/ai_robots_update.yml
vendored
|
@ -16,13 +16,14 @@ jobs:
|
|||
git config --global user.name "dark-visitors"
|
||||
git config --global user.email "dark-visitors@users.noreply.github.com"
|
||||
echo "Updating robots.json with data from darkvisitor.com ..."
|
||||
python code/dark_visitors.py --update
|
||||
python code/robots.py --update
|
||||
echo "... done."
|
||||
git --no-pager diff
|
||||
git add -A
|
||||
git diff --quiet && git diff --staged --quiet || (git commit -m "Update from Dark Visitors" && git push)
|
||||
shell: bash
|
||||
call-main:
|
||||
convert:
|
||||
name: convert
|
||||
needs: dark-visitors
|
||||
uses: ./.github/workflows/main.yml
|
||||
secrets: inherit
|
||||
|
|
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
@ -28,7 +28,7 @@ jobs:
|
|||
git log -1
|
||||
git status
|
||||
echo "Updating robots.txt and table-of-bot-metrics.md if necessary ..."
|
||||
python code/dark_visitors.py --convert
|
||||
python code/robots.py --convert
|
||||
echo "... done."
|
||||
git --no-pager diff
|
||||
git add -A
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue