更新 .gitea/workflows/update-rules.yml
All checks were successful
Update Clash Rules / update-rules (push) Successful in 6s
All checks were successful
Update Clash Rules / update-rules (push) Successful in 6s
This commit is contained in:
@@ -81,33 +81,41 @@ jobs:
|
||||
reject:
|
||||
type: http
|
||||
behavior: domain
|
||||
url: "https://cdn.jsdelivr.net/gh/${{ github.repository }}@main/ruleset/yaml/reject.yaml"
|
||||
url: "https://gitea.com/\${{ github.repository }}/raw/branch/main/ruleset/yaml/reject.yaml"
|
||||
path: ./ruleset/reject.yaml
|
||||
interval: 86400
|
||||
|
||||
proxy:
|
||||
type: http
|
||||
behavior: domain
|
||||
url: "https://cdn.jsdelivr.net/gh/${{ github.repository }}@main/ruleset/yaml/proxy.yaml"
|
||||
url: "https://gitea.com/\${{ github.repository }}/raw/branch/main/ruleset/yaml/proxy.yaml"
|
||||
path: ./ruleset/proxy.yaml
|
||||
interval: 86400
|
||||
|
||||
direct:
|
||||
type: http
|
||||
behavior: domain
|
||||
url: "https://gitea.com/\${{ github.repository }}/raw/branch/main/ruleset/yaml/direct.yaml"
|
||||
path: ./ruleset/direct.yaml
|
||||
interval: 86400
|
||||
|
||||
cncidr:
|
||||
type: http
|
||||
behavior: ipcidr
|
||||
url: "https://cdn.jsdelivr.net/gh/${{ github.repository }}@main/ruleset/yaml/cncidr.yaml"
|
||||
url: "https://gitea.com/\${{ github.repository }}/raw/branch/main/ruleset/yaml/cncidr.yaml"
|
||||
path: ./ruleset/cncidr.yaml
|
||||
interval: 86400
|
||||
|
||||
rules:
|
||||
- RULE-SET,reject,REJECT
|
||||
- RULE-SET,proxy,PROXY
|
||||
- RULE-SET,direct,DIRECT
|
||||
- RULE-SET,cncidr,DIRECT
|
||||
- GEOIP,CN,DIRECT
|
||||
- MATCH,PROXY
|
||||
\`\`\`
|
||||
|
||||
最后更新: $(TZ='Asia/Shanghai' date +'%Y-%m-%d %H:%M')
|
||||
最后更新: $(TZ='Asia/Shanghai' date +'%Y-%m-%d %H:%M') 北京时间 <sub><sup>$(date +'%Y-%m-%d %H:%M UTC')</sup></sub>
|
||||
EOF
|
||||
|
||||
- name: 提交更改
|
||||
|
||||
Reference in New Issue
Block a user