This commit is contained in:
mzz2017 committed 2020-04-06 23:02:48 +00:00
commit a738475887
11 files changed
+172826

No files matched your search

+38
View File
@@ -0,0 +1,38 @@
name: release
on:
schedule:
- cron: "0 23 * * *"
env:
ACTION_FILENAME: release.yml
TARGET: Loyalsoldier/v2ray-rules-dat
REQUIRED_FILES: |
geoip.dat
geosite.dat
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Check and release
run: |
TARGET_TAG_URL="https://api.github.com/repos/$TARGET/releases/latest"
TARGET_LATEST_VER=`curl -s ${TARGET_TAG_URL} --connect-timeout 30| grep 'tag_name' | cut -d\" -f4`
TARGET_DIST_URLs=`curl -s ${TARGET_TAG_URL} --connect-timeout 30| grep 'browser_download_url' | cut -d\" -f4`
DIST_TAGS_URL="https://api.github.com/repos/${{ github.repository }}/tags"
DIST_TAG_FOUND=`curl -s ${DIST_TAGS_URL} --connect-timeout 30| grep "\"name\"\: \"${TARGET_LATEST_VER}\""` || true
if [ -z ${DIST_TAG_FOUND} ]; then
echo $TARGET_DIST_URLs|while read -r line;do wget $line &> /dev/null;done
echo $REQUIRED_FILES|while read -r line;do ls $line;done
mkdir -p .github/workflows
wget -O .github/workflows/release.yml https://github.com/${{ github.repository }}/raw/master/.github/workflows/$ACTION_FILENAME
git init
git add .
git config --local user.name "${{ github.actor }}"
git config --local user.email "${{ github.actor }}@users.noreply.github.com"
git commit -m "Version ${TARGET_LATEST_VER}"
git tag -a "${TARGET_LATEST_VER}" -m "Version ${TARGET_LATEST_VER}"
git remote add origin "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}"
git push -u --force --follow-tags origin master
fi
+5
View File
@@ -0,0 +1,5 @@
cn
top
xn--55qx5d
xn--fiqs8s
xn--io0a7i
+74718
View File
File diff suppressed because it is too large. Load diff
BIN
View File
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
d297cd660d620f2d96de5b84a5001cc5e22159e62a67d9cc46ca30eb47f8c5f8 geoip.dat
+44881
View File
File diff suppressed because it is too large. Load diff
+1
View File
@@ -0,0 +1 @@
9008a94482dc2303d4a6fe7a5b140bf6f27f54e2eceb4121f879a971ba5c01e3 geosite.dat
+4
View File
@@ -0,0 +1,4 @@
edu
gov
mil
ms
+19359
View File
File diff suppressed because it is too large. Load diff
+71
View File
@@ -0,0 +1,71 @@
201*.myhard.com
8*.tianya.cn
a*.chajiaotong.com
ac*.pingguolv.com
activity.*.miui.com
adi*.cnool.net
adr-*.vindicosuite.com
ads-*.hulu.com
aff*.kolektiva.net
analytics-beacon-*.amazonaws.com
anet*.tradedoubler.com
at*.doubanio.com
ax.*.ifeng.com
banners*.spacash.com
bdcpro*.techweb.com.cn
bdlm*.hc360.com
bllzgqbyp
cas.*.criteo.com
caw.*.criteo.com
collect.*.miui.com
collector-*.tvsquared.com
d*.ruiwen.com
d*.xinshipu.com
datacollect*.abtasty.com
dm*.ppzuowen.com
dm*.yxlady.com
dn*.ixinwei.com
fanpingbi*.gaokao.com
fpb*.51edu.com
gcw*.2liang.cn
geo*.hltv.org
hits-*.iubenda.com
iad-*.blaze.com
images.*.criteo.net
imp*.tradedoubler.com
impservice*.yodao.com
impservice*.youdao.com
ja*.gamersky.com
js*.abolezi.com
log*.ku6.com
log-*.previewnetworks.com
logger-*.dailymotion.com
mcdp-*.outbrain.com
metric*.rediff.com
metro-trending-*.amazonaws.com
minero-proxy-*.sh
mobileoffers-*-download.com
ow*.biqugego.com
quickflix*.gridserver.com
rdi.*.criteo.com
sam*.baby-kingdom.com
same*.stockstar.com
sextronix.*.cdnaccess.com
stat.*.v-56.com
static*.365inews.com
static.*.criteo.net/design
static.*.criteo.net/flash
static.*.criteo.net/images
static.*.criteo.net/js/duplo
stats-*.p2pnow.ru
stats2.*.fdnames.com
targeting.*.arcpublishing.com
tracking*.euroads.fi
tracking.*.miui.com
trk*.vidible.tv
uc*.atobo.com
union*.365inews.com
vix.*.criteo.net
vtnlog-*.elb.amazonaws.com
XiaoQiang
ya*.dwstatic.com
+33748
View File
File diff suppressed because it is too large. Load diff