From 950011c42d37569b1818b8959f917f66efe79725 Mon Sep 17 00:00:00 2001 From: Sinspired <63581268+sinspired@users.noreply.github.com> Date: Sat, 7 Dec 2024 03:54:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20update=5Fhosts.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/update_hosts.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update_hosts.yml b/.github/workflows/update_hosts.yml index 1bd9495..c9444ba 100644 --- a/.github/workflows/update_hosts.yml +++ b/.github/workflows/update_hosts.yml @@ -7,7 +7,7 @@ on: - 'setHosts_Classic.py' - 'requirements.txt' branches: - - 'main' + - 'master' schedule: - cron: '0 */4 * * *' workflow_dispatch: @@ -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