Update auto-update.yml

pull/3870/head
Aleksandr Statciuk 3 years ago
parent 1c05547389
commit 8dd15f08f5

@ -36,7 +36,7 @@ jobs:
commit_author: 'iptv-bot[bot] <84861620+iptv-bot[bot]@users.noreply.github.com>' commit_author: 'iptv-bot[bot] <84861620+iptv-bot[bot]@users.noreply.github.com>'
branch: bot/auto-update branch: bot/auto-update
file_pattern: channels/* file_pattern: channels/*
filter: format:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: remove-duplicates needs: remove-duplicates
steps: steps:
@ -46,20 +46,20 @@ jobs:
ref: bot/auto-update ref: bot/auto-update
- name: Install Dependencies - name: Install Dependencies
run: npm install run: npm install
- name: Filter Playlists - name: Format Playlists
run: node scripts/filter.js run: node scripts/format.js
- name: Commit Changes - name: Commit Changes
uses: stefanzweifel/git-auto-commit-action@v4 uses: stefanzweifel/git-auto-commit-action@v4
with: with:
commit_message: '[Bot] Filtere channels' commit_message: '[Bot] Formate playlists'
commit_user_name: iptv-bot commit_user_name: iptv-bot
commit_user_email: 84861620+iptv-bot[bot]@users.noreply.github.com commit_user_email: 84861620+iptv-bot[bot]@users.noreply.github.com
commit_author: 'iptv-bot[bot] <84861620+iptv-bot[bot]@users.noreply.github.com>' commit_author: 'iptv-bot[bot] <84861620+iptv-bot[bot]@users.noreply.github.com>'
branch: bot/auto-update branch: bot/auto-update
file_pattern: channels/* file_pattern: channels/*
format: filter:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: filter needs: format
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -67,12 +67,12 @@ jobs:
ref: bot/auto-update ref: bot/auto-update
- name: Install Dependencies - name: Install Dependencies
run: npm install run: npm install
- name: Format Playlists - name: Filter Playlists
run: node scripts/format.js run: node scripts/filter.js
- name: Commit Changes - name: Commit Changes
uses: stefanzweifel/git-auto-commit-action@v4 uses: stefanzweifel/git-auto-commit-action@v4
with: with:
commit_message: '[Bot] Formate playlists' commit_message: '[Bot] Filter channels'
commit_user_name: iptv-bot commit_user_name: iptv-bot
commit_user_email: 84861620+iptv-bot[bot]@users.noreply.github.com commit_user_email: 84861620+iptv-bot[bot]@users.noreply.github.com
commit_author: 'iptv-bot[bot] <84861620+iptv-bot[bot]@users.noreply.github.com>' commit_author: 'iptv-bot[bot] <84861620+iptv-bot[bot]@users.noreply.github.com>'
@ -80,7 +80,7 @@ jobs:
file_pattern: channels/* file_pattern: channels/*
detect-resolution: detect-resolution:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: format needs: filter
continue-on-error: true continue-on-error: true
strategy: strategy:
fail-fast: false fail-fast: false

Loading…
Cancel
Save