删除 .gitea/workflows/surge_to_gogost.yml

This commit is contained in:
2024-12-18 09:01:51 +00:00
parent 2247befc33
commit 3b7b170695

View File

@@ -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