添加 .gitea/workflows/dnsmasq-china-list.yaml
This commit is contained in:
25
.gitea/workflows/dnsmasq-china-list.yaml
Normal file
25
.gitea/workflows/dnsmasq-china-list.yaml
Normal 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}}'
|
||||||
Reference in New Issue
Block a user