From e913da6e135110e106ab1121434e0d43dd9f3390 Mon Sep 17 00:00:00 2001 From: RickyHao Date: Wed, 19 Mar 2025 21:58:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20.gitea/workflows/dnsmasq-c?= =?UTF-8?q?hina-list.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/dnsmasq-china-list.yaml | 25 ++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .gitea/workflows/dnsmasq-china-list.yaml diff --git a/.gitea/workflows/dnsmasq-china-list.yaml b/.gitea/workflows/dnsmasq-china-list.yaml new file mode 100644 index 0000000..50bd176 --- /dev/null +++ b/.gitea/workflows/dnsmasq-china-list.yaml @@ -0,0 +1,25 @@ +name: Build SmartDNS DNSMasq China List +on: + workflow_dispatch: + schedule: + - cron: '0 4 * * *' + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + run: | + git clone https://github.com/felixonmars/dnsmasq-china-list.git --depth 1 + + - name: Build SmartDNS DNSMasq China List + run: | + cd dnsmasq-china-list + make smartdns SERVER=china + + - name: Release + uses: https://gitea.com/actions/release-action@main + with: + files: |- + *.smartdns.conf + api_key: '${{secrets.RELEASE_TOKEN}}' \ No newline at end of file