mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 18:37:01 -05:00
Update auto-update.yml
This commit is contained in:
6
.github/workflows/auto-update.yml
vendored
6
.github/workflows/auto-update.yml
vendored
@@ -47,12 +47,12 @@ jobs:
|
||||
- name: Install Dependencies
|
||||
run: npm install
|
||||
- name: Run Grabber
|
||||
run: node scripts/grab.js --channels=channels/${{ matrix.country }}.xml --output=.gh-pages/guides/${{ matrix.country }}.epg.xml --days=${{ matrix.days }}
|
||||
run: node scripts/grab.js --channels=channels/${{ matrix.country }}.xml --output=.gh-pages/guides/${{ matrix.country }}.xml --days=${{ matrix.days }}
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: .gh-pages
|
||||
path: .gh-pages/guides/${{ matrix.country }}.epg.xml
|
||||
path: .gh-pages/guides/${{ matrix.country }}.xml
|
||||
if-no-files-found: error
|
||||
deploy:
|
||||
needs: grab
|
||||
@@ -90,6 +90,8 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: bot/auto-update
|
||||
- name: Download Artifacts
|
||||
uses: actions/download-artifact@v2
|
||||
- name: Install Dependencies
|
||||
run: npm install
|
||||
- name: Update Codes
|
||||
|
||||
Reference in New Issue
Block a user