mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Update auto-update.yml
This commit is contained in:
parent
dcf75e53bf
commit
74d32668ec
1 changed files with 8 additions and 2 deletions
10
.github/workflows/auto-update.yml
vendored
10
.github/workflows/auto-update.yml
vendored
|
@ -71,13 +71,19 @@ jobs:
|
|||
- name: Install Dependencies
|
||||
run: npm install
|
||||
- name: Run Grabber
|
||||
run: NODE_OPTIONS=--insecure-http-parser npx epg-grabber --config=sites/${{ matrix.guide.site }}/${{ matrix.guide.site }}.config.js --channels=sites/${{ matrix.guide.site }}/${{ matrix.guide.site }}_${{ matrix.guide.country }}.channels.xml --days=2 --output=.gh-pages/guides/${{ matrix.guide.country }}/${{ matrix.guide.site }}.epg.xml
|
||||
- name: Upload Artifact
|
||||
run: NODE_OPTIONS=--insecure-http-parser npx epg-grabber --config=sites/${{ matrix.guide.site }}/${{ matrix.guide.site }}.config.js --channels=sites/${{ matrix.guide.site }}/${{ matrix.guide.site }}_${{ matrix.guide.country }}.channels.xml --output=.gh-pages/guides/${{ matrix.guide.country }}/${{ matrix.guide.site }}.epg.xml --log=logs/${{ matrix.guide.site }}_${{ matrix.guide.country }}.log --days=2
|
||||
- name: Upload Guide
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: .gh-pages
|
||||
path: .gh-pages/
|
||||
if-no-files-found: error
|
||||
- name: Upload Log
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: logs
|
||||
path: logs/
|
||||
if-no-files-found: error
|
||||
deploy:
|
||||
needs: grab
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue