|
|
|
@ -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
|
|
|
|
|