Use $GEOSITE_REPO as data folder source by default

Can change $GEOSITE_REPO environment variable to use your own forked `domain-list-community` repo
This commit is contained in:
Loyalsoldier 2020-06-03 18:37:56 +08:00 committed by GitHub
parent 91f21e9dd0
commit 013c6ef33a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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/