diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..d3143173 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,41 @@ +name: Build geosite.dat +on: + push: + branches: + - master + +jobs: + build: + name: Build + runs-on: ubuntu-latest + + steps: + - name: Setup Go 1.13 + uses: actions/setup-go@v1 + with: + go-version: 1.13 + id: go + + - name: Set $GOPATH and more variables + run: | + echo "::set-env name=NAME::$(date +%Y%m%d%H%M)" + echo "::set-env name=TAG_NAME::$(date +%Y%m%d%H%M)" + echo "::set-env name=GOPATH::$(dirname $GITHUB_WORKSPACE)" + echo "::add-path::$(dirname $GITHUB_WORKSPACE)/bin" + shell: bash + + - name: Get geosite code + run: | + go get -u -v -insecure github.com/v2ray/domain-list-community + + - name: Build geosite.dat file + run: | + domain-list-community + mkdir -p ./publish + mv ./dlc.dat ./publish/dlc.dat + + - name: Release file + uses: Ricky-Hao/action-release@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + ASSET_PATH: publish diff --git a/data/geolocation-cn b/data/geolocation-cn index e5008fea..a4b5931a 100644 --- a/data/geolocation-cn +++ b/data/geolocation-cn @@ -167,6 +167,7 @@ diopic.net docin.com dockerone.com dockone.io +dogedoge.com donews.com douban.com douban.fm diff --git a/data/porn b/data/porn new file mode 100644 index 00000000..e5361337 --- /dev/null +++ b/data/porn @@ -0,0 +1,22 @@ +include:caoliu +include:chaturbate +include:eporner +include:hegre +include:hqporner +include:javbus +include:javhd +include:kindgirls +include:netflav +include:pigav +include:pornhd +include:pornhub +include:redtube +include:theporndude +include:tube8 +include:xart +include:xhamster +include:xnxx +include:xvideos +include:youporn +include:91porn +include:beeg