Skip to content

Commit

Permalink
更新 update_hosts.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sinspired authored Dec 6, 2024
1 parent 97ff2cc commit 950011c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update_hosts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- 'setHosts_Classic.py'
- 'requirements.txt'
branches:
- 'main'
- 'master'
schedule:
- cron: '0 */4 * * *'
workflow_dispatch:
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Run hosts update script1
run: |
sudo python3 setHosts.py
sudo python3 setHosts_Classic.py
# 提交并推送更新(仅在文件变更时)
- name: Commit and push changes
Expand Down

0 comments on commit 950011c

Please sign in to comment.