mirror of
https://github.com/Johnshall/Shadowrocket-ADBlock-Rules-Forever.git
synced 2025-12-19 16:24:42 +08:00
Fix auto_build.sh to GitHub Actions
This commit is contained in:
@@ -1,17 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
Path=/root/Shadowrocket-ADBlock-Rules
|
Path=./factory
|
||||||
cd $Path
|
cd $Path
|
||||||
|
|
||||||
git fetch --all
|
|
||||||
git reset --hard origin/master
|
|
||||||
|
|
||||||
cd factory
|
|
||||||
python3 ad.py
|
python3 ad.py
|
||||||
python3 gfwlist.py
|
python3 gfwlist.py
|
||||||
python3 build_confs.py
|
python3 build_confs.py
|
||||||
cd ..
|
|
||||||
|
|
||||||
git add .
|
|
||||||
git commit -m "Nightly build" -m "已合并最新的去广告规则及 GFWList"
|
|
||||||
git push
|
|
||||||
|
|||||||
Reference in New Issue
Block a user