Update auto-update.yml

This commit is contained in:
Aleksandr Statciuk 2021-10-07 23:00:58 +03:00
parent 8f830182f0
commit 445e90f2a1

View file

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