Update auto-update.yml

This commit is contained in:
Aleksandr Statciuk 2021-11-16 17:09:05 +03:00
parent dcf75e53bf
commit 74d32668ec

View file

@ -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