Skip to content

Commit

Permalink
Custom
Browse files Browse the repository at this point in the history
Signed-off-by: IceCodeNew <32576256+IceCodeNew@users.noreply.github.com>
  • Loading branch information
IceCodeNew committed Jun 12, 2024
1 parent e41398f commit 4624945
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Build dlc.dat
on:
workflow_dispatch:
schedule:
- cron: "30 2 * * *"
push:
branches:
- master
Expand All @@ -14,6 +17,7 @@ jobs:
- name: Checkout codebase
uses: actions/checkout@v4
with:
repository: 'v2fly/domain-list-community'
path: code

- name: Setup Go
Expand All @@ -30,7 +34,7 @@ jobs:
- name: Build dlc.dat file
run: |
cd code || exit 1
go run ./ --outputdir=../ --exportlists=category-ads-all,tld-cn,cn,tld-\!cn,geolocation-\!cn,apple,icloud
go run ./ --outputdir=../ --exportlists=geolocation-cn,category-scholar-cn,category-scholar-\!cn,category-anticensorship,category-dev,category-ecommerce,category-entertainment,category-forums,category-media,category-orgs,category-porn,category-social-media-!cn,category-vpnservices,discord,github,google,microsoft,signal,speedtest,telegram,twitter
cd ../ && rm -rf code
- name: Generate dlc.dat sha256 hash
Expand Down

0 comments on commit 4624945

Please sign in to comment.