mirror of
https://github.com/milk-net/milk-net.github.io.git
synced 2025-04-19 17:43:42 -05:00
Update sync_forks.yml
This commit is contained in:
parent
7b8a2dcfe4
commit
3a479637b0
1 changed files with 7 additions and 2 deletions
9
.github/workflows/sync_forks.yml
vendored
9
.github/workflows/sync_forks.yml
vendored
|
@ -2,8 +2,8 @@ name: Sync Forks
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 */1 * * *'
|
- cron: '0 */6 * * *' # Runs every 6 hours
|
||||||
workflow_dispatch:
|
workflow_dispatch: # Allows manual triggering
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
sync:
|
sync:
|
||||||
|
@ -23,6 +23,11 @@ jobs:
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install requests
|
pip install requests
|
||||||
|
|
||||||
|
- name: Configure Git
|
||||||
|
run: |
|
||||||
|
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
|
git config --global user.name "GitHub Actions"
|
||||||
|
|
||||||
- name: Run sync script
|
- name: Run sync script
|
||||||
run: python sync_forks.py
|
run: python sync_forks.py
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Add table
Reference in a new issue