mirror of
https://github.com/Loyalsoldier/v2ray-rules-dat.git
synced 2024-11-14 03:55:33 +08:00
Update build.yml
* Change cnipv4url: https://raw.githubusercontent.com/IceCodeNew/4Share/master/geoip_china/china_ip_list.txt * Add more trigger
This commit is contained in:
parent
bc3e56bea9
commit
7644793f6d
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -1,13 +1,15 @@
|
|||||||
name: Build V2Ray rules dat files
|
name: Build V2Ray rules dat files
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 22 * * *"
|
- cron: "30 3 * * *"
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
- hidden
|
- hidden
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- "**/README.md"
|
- "**/README.md"
|
||||||
|
label:
|
||||||
|
types: [created, deleted]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build
|
name: Build
|
||||||
@ -59,7 +61,7 @@ jobs:
|
|||||||
- name: Generate geoip.dat file
|
- name: Generate geoip.dat file
|
||||||
run: |
|
run: |
|
||||||
go get -u -v -insecure $GEOIP_REPO
|
go get -u -v -insecure $GEOIP_REPO
|
||||||
geoip --country=./geoip/GeoLite2-Country-Locations-en.csv --ipv4=./geoip/GeoLite2-Country-Blocks-IPv4.csv --ipv6=./geoip/GeoLite2-Country-Blocks-IPv6.csv --cnipv4url=https://raw.githubusercontent.com/pexcn/daily/gh-pages/chnroute/chnroute.txt
|
geoip --country=./geoip/GeoLite2-Country-Locations-en.csv --ipv4=./geoip/GeoLite2-Country-Blocks-IPv4.csv --ipv6=./geoip/GeoLite2-Country-Blocks-IPv6.csv --cnipv4url=https://raw.githubusercontent.com/IceCodeNew/4Share/master/geoip_china/china_ip_list.txt
|
||||||
mkdir -p ./publish
|
mkdir -p ./publish
|
||||||
mv ./geoip.dat ./publish/
|
mv ./geoip.dat ./publish/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user