From 3b7b17069548d53e4154df56c83138c50c0582ad Mon Sep 17 00:00:00 2001 From: yuanzhen869 Date: Wed, 18 Dec 2024 09:01:51 +0000 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=20.gitea/workflows/surge=5Ft?= =?UTF-8?q?o=5Fgogost.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/surge_to_gogost.yml | 30 ---------------------------- 1 file changed, 30 deletions(-) delete mode 100644 .gitea/workflows/surge_to_gogost.yml diff --git a/.gitea/workflows/surge_to_gogost.yml b/.gitea/workflows/surge_to_gogost.yml deleted file mode 100644 index c8e5ff3..0000000 --- a/.gitea/workflows/surge_to_gogost.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: SurgeToGoGostConverter -on: - push: - paths: - - .gitea/workflows/surge_to_gogost.yml # 仅在该文件被修改时触发 - - .gitea/workflows/convert_surge_to_gogost.py - schedule: - - cron: "0 * * * *" # 设置为每小时运行一次,或根据需要调整 -jobs: - convert: - runs-on: ubuntu-latest - steps: - - name: 检出代码 - uses: actions/checkout@v3 - - - name: 设置 Python 环境 - uses: actions/setup-python@v4 - with: - python-version: "3.x" - - - name: 运行转换脚本 - run: python .gitea/workflows/convert_surge_to_gogost.py - - - name: Commit and push changes - run: | - git config --global user.name "yuanzhen869" - git config --global user.email "yuanzhen869@gmail.com" - git add . - git commit -m "surge_to_gogost" || echo "No changes to commit" - git push origin main \ No newline at end of file