mirror of
https://github.com/ai-robots-txt/ai.robots.txt.git
synced 2025-12-29 12:18:33 +01:00
Update ai_robots_update.yml with rebase command to fix scheduled run
This commit is contained in:
parent
7598d77e4a
commit
51afa7113a
1 changed files with 2 additions and 1 deletions
3
.github/workflows/ai_robots_update.yml
vendored
3
.github/workflows/ai_robots_update.yml
vendored
|
|
@ -11,7 +11,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 0
|
||||||
- run: |
|
- run: |
|
||||||
pip install beautifulsoup4 requests
|
pip install beautifulsoup4 requests
|
||||||
git config --global user.name "dark-visitors"
|
git config --global user.name "dark-visitors"
|
||||||
|
|
@ -23,6 +23,7 @@ jobs:
|
||||||
git add -A
|
git add -A
|
||||||
if ! git diff --cached --quiet; then
|
if ! git diff --cached --quiet; then
|
||||||
git commit -m "Update from Dark Visitors"
|
git commit -m "Update from Dark Visitors"
|
||||||
|
git rebase origin/main
|
||||||
git push
|
git push
|
||||||
else
|
else
|
||||||
echo "No changes to commit."
|
echo "No changes to commit."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue