Delete .github/workflows/iptv.yml

This commit is contained in:
alantang 2025-04-11 12:59:52 +08:00 committed by GitHub
parent 0f98e10ba6
commit bfe6c33971
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,74 +0,0 @@
name: Update-iptv
on:
schedule:
- cron: '30 5 * * 1,3'
workflow_dispatch:
permissions:
contents: write
env:
TZ: Asia/Shanghai
jobs:
Update:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Get time
run: echo "DATE=$(date +'%Y-%m-%d %H:%M:%S')" >> $GITHUB_ENV
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pandas requests
- name: Run script
run: |
python iptv.py
- name: Update time
run: |
echo "## ✨于 $DATE 更新
## 🎉最新可用IPTV源觉得好用请点个Star吧这对我非常重要
### 🎈用法如下
**安装一个IPTV客户端其它平台上有相关教程**
**IPTV源网址TXT** https://ghfast.top/raw.githubusercontent.com/alantang1977/X/main/iptv.txt
**IPTV源网址M3U** https://ghfast.top/raw.githubusercontent.com/alantang1977/X/main/iptv.m3u
![Star History Chart](https://api.star-history.com/svg?repos=alantang1977/live)" > READMEbak.md
- name: List files in workspace
run: ls -la
- name: Git status
run: git status
- name: Configure Git
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- name: Commit and Push changes
run: |
git add $(pwd)/iptv.txt
git add $(pwd)/iptv.m3u
git add $(pwd)/READMEbak.md
git commit -m "Update on $DATE" --allow-empty
git push origin main
- name: Upload streams file
uses: actions/upload-artifact@v4
with:
name: iptv
path: iptv.txt