24 lines
572 B
YAML
24 lines
572 B
YAML
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/gitea-release-action@main
|
|
with:
|
|
files: |-
|
|
*.smartdns.conf |