更新 .gitea/workflows/sync_raw_file.yml
This commit is contained in:
@@ -12,12 +12,12 @@ jobs:
|
||||
|
||||
- name: Download raw file from GitHub
|
||||
run: |
|
||||
curl -o /loon/ https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/refs/heads/master/rule/Surge/China/China_All.list
|
||||
curl -o ./temp/sync/ https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/refs/heads/master/rule/Surge/China/China_All.list
|
||||
|
||||
- name: Commit and push changes
|
||||
run: |
|
||||
git config --global user.name "your_gitea_username"
|
||||
git config --global user.email "your_email@example.com"
|
||||
git config --global user.name "yuanzhen869"
|
||||
git config --global user.email "yuanzhen869@gmail.com.com"
|
||||
git add .
|
||||
git commit -m "Sync file from GitHub raw"
|
||||
git push origin main
|
||||
Reference in New Issue
Block a user