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