mirror of
https://github.com/ai-robots-txt/ai.robots.txt.git
synced 2025-04-19 00:26:01 +00:00
call main after update
This commit is contained in:
parent
cebf809391
commit
944bee0f56
4 changed files with 50 additions and 5406 deletions
7
.github/workflows/daily_update.yml
vendored
7
.github/workflows/daily_update.yml
vendored
|
@ -1,7 +1,7 @@
|
|||
name: Daily Update from Dark Visitors
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
- cron: "*/10 * * * *"
|
||||
|
||||
jobs:
|
||||
dark-visitors:
|
||||
|
@ -18,4 +18,7 @@ jobs:
|
|||
python code/dark_visitors.py
|
||||
git add -A
|
||||
git diff --quiet && git diff --staged --quiet || (git commit -m "Daily update from Dark Visitors" && git push)
|
||||
shell: bash
|
||||
shell: bash
|
||||
call-main:
|
||||
uses: ./.github/workflows/main.yml
|
||||
secrets: inherit
|
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
|
@ -1,4 +1,5 @@
|
|||
on:
|
||||
workflow_call:
|
||||
push:
|
||||
paths:
|
||||
- 'robots.json'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue