From c3f2cb7d112ae3a2b2283d9e7376f389ed32cb91 Mon Sep 17 00:00:00 2001 From: freearhey Date: Mon, 15 Mar 2021 14:48:15 +0300 Subject: [PATCH] Update auto-update.yml --- .github/workflows/auto-update.yml | 32 +++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml index 94ff9d12..3560ad40 100644 --- a/.github/workflows/auto-update.yml +++ b/.github/workflows/auto-update.yml @@ -4,7 +4,7 @@ on: schedule: - cron: '0 0 * * *' jobs: - update-guide: + programme-tv.net: runs-on: ubuntu-latest steps: - name: Checkout @@ -12,7 +12,35 @@ jobs: - name: Install Dependencies run: npm install - name: Run EPG Grabber - run: ./run.sh + run: npx epg-grabber --config=sites/programme-tv.net.config.js + - name: Deploy to GitHub Pages + uses: JamesIves/github-pages-deploy-action@4.1.0 + with: + branch: gh-pages + folder: .gh-pages + ontvtonight.com: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2.3.1 + - name: Install Dependencies + run: npm install + - name: Run EPG Grabber + run: npx epg-grabber --config=sites/ontvtonight.com.config.js + - name: Deploy to GitHub Pages + uses: JamesIves/github-pages-deploy-action@4.1.0 + with: + branch: gh-pages + folder: .gh-pages + tv.yandex.ru: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2.3.1 + - name: Install Dependencies + run: npm install + - name: Run EPG Grabber + run: npx epg-grabber --config=sites/tv.yandex.ru.config.js - name: Deploy to GitHub Pages uses: JamesIves/github-pages-deploy-action@4.1.0 with: