Delete .github/workflows/IP采集.yml备

This commit is contained in:
frxz751113
2024-08-09 11:28:52 +08:00
committed by GitHub
parent 85a978de98
commit 8b8deb0846
-54
View File
@@ -1,54 +0,0 @@
name: 组播ip采集
on:
schedule:
- cron: '1 */12 * * *' #这里更改自动运行的时间,没这两行的话只能手动运行
workflow_dispatch:
分支:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install dependencies
run: pip install selenium requests futures eventlet
- name: Install dependencies
run: pip install opencv-python requests
- name: Install dependencies
run: pip install Beautifulsoup4 requests
- name: Install dependencies
run: pip install translate requests
- name: Install dependencies
run: pip install ffmpy
- name: Install dependencies
run: pip install termcolor
- name: Install dependencies
run: pip install func_timeout
- name: Install dependencies
run: pip install replace
- name: Run iptv
run: python ${{ github.workspace }}/组播py/#采集.py
- name: Commit results
run: |
git config --local user.email "actions@github.com"
git config --local user.name "GitHub Action"
if [ -n "$(git status --porcelain)" ]; then
git add *.txt #*.m3u
git commit -m "Automatic update"
git push
else
echo "No changes detected, skipping commit."
fi