自動垃取 280blocker

This commit is contained in:
tasi788 2020-12-08 18:38:50 +08:00
parent 3c1530a03a
commit 735d736384
No known key found for this signature in database
GPG Key ID: 7A46E3C578E9EE6E

25
.github/workflows/280blocker.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: 280blocker
on:
push:
schedule:
- cron: "*/2 * * * *"
jobs:
go:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: 280blocker_adblock
uses: wei/curl@master
with:
args: https://280blocker.net/files/280blocker_adblock_$(date +%Y%m).txt -o 280blocker/280blocker_adblock.txt
- name: 280blocker_domain_ag
uses: wei/curl@master
with:
args: https://280blocker.net/files/280blocker_domain_ag_$(date +%Y%m).txt -o 280blocker/280blocker_domain_ag.txt
- name: push
uses: actions-go/push@v1
with:
commit-files: 280blocker_domain_ag.txt, 280blocker_adblock.txt
commit-message: "🤖 update 280blocker_$(date +%Y%m)"