From 013c6ef33aad76f51e43c0716951c287d304e8be Mon Sep 17 00:00:00 2001 From: Loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com> Date: Wed, 3 Jun 2020 18:37:56 +0800 Subject: [PATCH] Use $GEOSITE_REPO as data folder source by default Can change $GEOSITE_REPO environment variable to use your own forked `domain-list-community` repo --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 32c54020..fff12fdb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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/