feat: switch to local full surge sync and local merge-convert pipeline

This commit is contained in:
袁震
2026-04-06 13:53:11 +08:00
parent f8ff7279c6
commit f1b218f57d
8 changed files with 169 additions and 697 deletions
+4
View File
@@ -9,6 +9,7 @@ on:
- main
paths:
- main.py
- scripts/sync_surge_full.sh
- config.toml
- config.json
- .gitea/workflows/generate-rules.yml
@@ -50,7 +51,10 @@ jobs:
- name: Generate rules
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
UPSTREAM_REF: ${{ vars.UPSTREAM_REF }}
run: |
UPSTREAM_REF="${UPSTREAM_REF:-master}"
bash scripts/sync_surge_full.sh
if [ -f config.toml ]; then
python3 main.py --config config.toml
else