From 8d76a667dc3efc1d01ae3bafab8467706411224c Mon Sep 17 00:00:00 2001 From: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com> Date: Tue, 28 Jul 2020 00:56:30 +0800 Subject: [PATCH] Export lists by GitHub Actions & push to release branch --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4f26eca1..40586563 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,7 +32,7 @@ jobs: - name: Build dlc.dat file run: | - domain-list-community --datapath=${{ env.GOPATH }}/src/${{ env.REPO_URL }}/data + domain-list-community --datapath=${{ env.GOPATH }}/src/${{ env.REPO_URL }}/data --exportlists=cn,category-ads-all,geolocation-\!cn - name: Generate dlc.dat sha256 hash run: | @@ -44,7 +44,7 @@ jobs: git config --local user.name "actions" git config --local user.email "action@github.com" git checkout -b release - git add dlc.dat dlc.dat.sha256sum + git add dlc.dat dlc.dat.sha256sum *.txt git commit -m "${{ env.RELEASE_NAME }}" git remote add origin "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}" git push -f -u origin release