mirror of
https://github.com/FutaGuard/LowTechFilter.git
synced 2025-08-24 21:46:53 +08:00
Compare commits
No commits in common. "b1185986a72fac53f0f4d389b30e80292e36e0c0" and "d705b148320d6cf3cfa4477f7515d22fe9c484d9" have entirely different histories.
b1185986a7
...
d705b14832
26
.github/workflows/twnic_rpz.yml
vendored
Normal file
26
.github/workflows/twnic_rpz.yml
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
name: TWNIC RPZ
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
update_twnic_rpz_data:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.9'
|
||||
cache: 'pip' # caching pip dependencies
|
||||
- run: pip install -r AutoBuild/requirements.txt && python AutoBuild/twnic_rpz.py
|
||||
- name: push
|
||||
uses: github-actions-x/commit@v2.9
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
push-branch: 'master'
|
||||
commit-message: '🤖 自動更新 TWNIC RPZ 封鎖域名'
|
||||
files: TWNIC-RPZ.txt
|
||||
name: tdc
|
||||
email: tdc@sudo.host
|
Loading…
x
Reference in New Issue
Block a user