Update auto-update.yml

pull/3870/head
Aleksandr Statciuk 3 years ago
parent e0f646bebf
commit 7bd78d7bc0

@ -15,7 +15,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
branch: 'bot/auto-update'
remove-duplicates:
format:
runs-on: ubuntu-latest
needs: create-branch
steps:
@ -25,20 +25,20 @@ jobs:
ref: bot/auto-update
- name: Install Dependencies
run: npm install
- name: Remove Duplicates
run: node scripts/remove-duplicates.js
- name: Format Playlists
run: node scripts/format.js
- name: Commit Changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: '[Bot] Remove duplicates'
commit_message: '[Bot] Formate playlists'
commit_user_name: iptv-bot
commit_user_email: 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
file_pattern: channels/*
format:
remove-duplicates:
runs-on: ubuntu-latest
needs: remove-duplicates
needs: format
steps:
- name: Checkout
uses: actions/checkout@v2
@ -46,12 +46,12 @@ jobs:
ref: bot/auto-update
- name: Install Dependencies
run: npm install
- name: Format Playlists
run: node scripts/format.js
- name: Remove Duplicates
run: node scripts/remove-duplicates.js
- name: Commit Changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: '[Bot] Formate playlists'
commit_message: '[Bot] Remove duplicates'
commit_user_name: iptv-bot
commit_user_email: 84861620+iptv-bot[bot]@users.noreply.github.com
commit_author: 'iptv-bot[bot] <84861620+iptv-bot[bot]@users.noreply.github.com>'
@ -59,7 +59,7 @@ jobs:
file_pattern: channels/*
sort:
runs-on: ubuntu-latest
needs: format
needs: remove-duplicates
steps:
- name: Checkout
uses: actions/checkout@v2

Loading…
Cancel
Save