Skip to content

Commit

Permalink
更新 update_hosts.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sinspired committed Nov 13, 2024
1 parent d4b13fe commit d879e08
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/update_hosts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: Update hosts

on:
push:
paths:
- 'setHosts.py'
- 'requirements.txt'
schedule:
- cron: '0 */4 * * *'
workflow_dispatch:
Expand Down Expand Up @@ -46,7 +43,7 @@ jobs:
# 添加详细输出以便调试
python -V
which python
sudo -E python setHosts.py --verbose
sudo -E python SetHosts.py --verbose
- name: Commit and push changes
env:
Expand Down

0 comments on commit d879e08

Please sign in to comment.