添加 .gitea/workflows/dnsmasq-china-list.yaml

This commit is contained in:
2025-03-19 21:58:23 +08:00
parent b72a0e2611
commit e913da6e13

View File

@@ -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}}'