diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml index 7341f144..2169a932 100644 --- a/.github/workflows/auto-update.yml +++ b/.github/workflows/auto-update.yml @@ -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