mirror of
https://github.com/fanmingming/live.git
synced 2025-12-20 01:00:59 +08:00
23 lines
610 B
YAML
23 lines
610 B
YAML
name: EPG Update
|
|
on:
|
|
push:
|
|
schedule:
|
|
- cron: '15 16,18,20,22,0,2,4,6,8,10,12,14 * * *'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Update EPG Files
|
|
run: |
|
|
rm -f e.xml && wget https://epg.112114.xyz/pp.xml -O e.xml
|
|
git config --local user.name "github-actions[bot]"
|
|
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
|
git add e.xml
|
|
git commit -m "EPG Update."
|
|
- name: Push changes
|
|
run: git push origin main
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|