Update check.yml

This commit is contained in:
freearhey 2023-09-16 17:30:58 +03:00
parent 435c696fc5
commit de7594a5cc

View File

@ -25,9 +25,9 @@ jobs:
- name: download data from api
if: steps.files.outputs.any_changed == 'true'
run: |
mkdir -p scripts/tmp/data
curl -L -o scripts/tmp/data/blocklist.json https://iptv-org.github.io/api/blocklist.json
curl -L -o scripts/tmp/data/channels.json https://iptv-org.github.io/api/channels.json
mkdir -p temp/data
curl -L -o temp/data/blocklist.json https://iptv-org.github.io/api/blocklist.json
curl -L -o temp/data/channels.json https://iptv-org.github.io/api/channels.json
- name: install dependencies
if: steps.files.outputs.any_changed == 'true'
run: npm install