Update test.yml

This commit is contained in:
freearhey 2021-04-25 14:29:32 +03:00
parent 0326fa2858
commit 80be1a9700

View file

@ -2,7 +2,22 @@ name: test
on: on:
workflow_dispatch: workflow_dispatch:
jobs: jobs:
andorradifusio_ad: andorradifusio_ad1:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Dependencies
run: npm install
- name: Run EPG Grabber
run: npx epg-grabber --config=sites/andorradifusio.ad.config.js -d
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@4.1.1
with:
branch: gh-pages
folder: .gh-pages
clean: false
andorradifusio_ad2:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
@ -11,8 +26,6 @@ jobs:
run: npm install run: npm install
- name: Run EPG Grabber - name: Run EPG Grabber
run: npx epg-grabber --config=sites/andorradifusio.ad.config.js -d run: npx epg-grabber --config=sites/andorradifusio.ad.config.js -d
- name: Fetch branch
run: git fetch origin gh-pages
- name: Deploy to GitHub Pages - name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@4.1.1 uses: JamesIves/github-pages-deploy-action@4.1.1
with: with: