Skip to content

iptv

iptv #47

Workflow file for this run

name: iptv
on:
workflow_dispatch:
schedule:
- cron: '5 0 * * *'
jobs:
version_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Update
run: |
curl http://itv.22m.top/ITVBox/tv/tvonline.txt > box.txt
git config --global user.name 'semi'
git config --global user.email '[email protected]'
if [ -z $(git status --porcelain) ];
then
echo "Updated"
else
git add box.txt
git commit -m "Automate"
git push
fi