Compare commits

...

2 Commits

Author SHA1 Message Date
Loyalsoldier
4d73ef6f3d Update build.yml 2020-06-05 20:30:06 +08:00
Loyalsoldier
013c6ef33a Use $GEOSITE_REPO as data folder source by default
Can change $GEOSITE_REPO environment variable to use your own forked `domain-list-community` repo
2020-06-03 18:37:56 +08:00

View File

@@ -3,11 +3,11 @@ on:
schedule:
- cron: "0 22 * * *"
push:
paths-ignore:
- "README.md"
branches:
- master
- hidden
paths-ignore:
- "**/README.md"
jobs:
build:
name: Build
@@ -139,7 +139,7 @@ jobs:
- name: Build geosite.dat file
run: |
domain-list-community
domain-list-community --datapath=${{ env.GOPATH }}/src/${{ env.GEOSITE_REPO }}/data
mv ./dlc.dat ./publish/geosite.dat
mv ./*-excluse-list ./publish/
cp -f $GOPATH/src/$GEOSITE_REPO/data/{proxy,direct,reject}-list ./publish/