mirror of
https://github.com/FutaGuard/LowTechFilter.git
synced 2025-06-21 05:21:02 +08:00
✨ 自動垃取 280blocker
This commit is contained in:
parent
3c1530a03a
commit
735d736384
25
.github/workflows/280blocker.yml
vendored
Normal file
25
.github/workflows/280blocker.yml
vendored
Normal 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)"
|
Loading…
x
Reference in New Issue
Block a user