mirror of
https://github.com/FutaGuard/LowTechFilter.git
synced 2025-06-21 05:21:02 +08:00
移除依賴
This commit is contained in:
parent
5dbca1b81b
commit
40b3cff2c8
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
|
@ -2,4 +2,8 @@ certifi==2023.7.22
|
||||
charset-normalizer==2.1.1
|
||||
idna==3.3
|
||||
requests==2.28.1
|
||||
<<<<<<< HEAD
|
||||
urllib3==1.26.12
|
||||
=======
|
||||
urllib3==1.26.12
|
||||
>>>>>>> cb56b0e (🔥 移除依賴)
|
||||
|
Loading…
x
Reference in New Issue
Block a user