8000 Auto Update EPG · genotip2/epg@a5bcc74 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
< 7515 div data-view-component="true" class="PageHeader-navigation hide-whenRegular mt-0 ml-n3">

Auto Update EPG

Auto Update EPG #97

name: Auto Update EPG
on:
workflow_dispatch:
schedule:
- cron: '0 5 * * *'
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: szenius/set-timezone@v2.0
with:
timezoneLinux: "Asia/Jakarta"
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: install dependencies
run: npm install
- name: check *.channels.xml
run: |
npm run channels:lint
- name: superguide
run: |
for i in {1..3}; do
npm run grab -- --channels=super.channels.xml --output=super.guide.xml --maxConnections=1 --gzip && break || sleep 10
done
- name: Commit and push changes
run: |
git config --local user.name "github-actions[bot]"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git add super.guide.xml super.guide.xml.gz
git commit -m "Auto Update EPG"
git push
0