diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2936f025..99ddb43e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,7 +2,22 @@ name: test on: workflow_dispatch: 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 steps: - name: Checkout @@ -11,8 +26,6 @@ jobs: run: npm install - name: Run EPG Grabber 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 uses: JamesIves/github-pages-deploy-action@4.1.1 with: