Update clean.yml

This commit is contained in:
freearhey 2021-05-06 22:07:47 +03:00
parent 22f2c26bb5
commit f451ab9935
1 changed files with 13 additions and 4 deletions

View File

@ -165,20 +165,29 @@ jobs:
# zm,
# unsorted
]
max-parallel: 1
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install Dependencies
run: npm install
- name: Remove Broken Links
run: node scripts/clean.js --country=${{ matrix.country }}
- uses: actions/upload-artifact@v2
with:
name: ${{ matrix.country }}.m3u
path: channels/${{ matrix.country }}.m3u
pull-request:
needs: clean
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/download-artifact@v2
with:
path: .
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
title: '[Bot] Remove broken links'
body: |
This pull request is created automatically.
commit-message: 'Update ${{ matrix.country }}.m3u'