mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-11 01:20:08 -04:00
Move scripts to subfolders
This commit is contained in:
parent
f0c64a55e4
commit
b1a0bcf4b9
36 changed files with 204 additions and 222 deletions
6
.github/workflows/_check.yml
vendored
6
.github/workflows/_check.yml
vendored
|
@ -8,12 +8,12 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Download channels from API
|
||||
- name: Download data from API
|
||||
run: |
|
||||
mkdir -p scripts/data
|
||||
curl -L -o scripts/data/channels.json https://iptv-org.github.io/api/channels.json
|
||||
- id: files
|
||||
uses: jitterbit/get-changed-files@v1
|
||||
- run: npm install
|
||||
- run: npm run lint -- ${{ steps.files.outputs.added_modified }}
|
||||
- run: npm run validate -- ${{ steps.files.outputs.added_modified }}
|
||||
- run: npm run channels:lint -- ${{ steps.files.outputs.added_modified }}
|
||||
- run: npm run channels:validate -- ${{ steps.files.outputs.added_modified }}
|
||||
|
|
8
.github/workflows/_load.yml
vendored
8
.github/workflows/_load.yml
vendored
|
@ -22,10 +22,10 @@ jobs:
|
|||
curl -L -o scripts/data/channels.json https://iptv-org.github.io/api/channels.json
|
||||
- uses: FedericoCarboni/setup-ffmpeg@v1
|
||||
- run: npm install
|
||||
- run: CHANNELS_PATH=sites/${{inputs.site}}/*.channels.xml node scripts/commands/create-queue.js --max-clusters=1 --days=2
|
||||
- run: NODE_OPTIONS=--insecure-http-parser node scripts/commands/load-cluster.js --timeout=30000 --cluster-id=1
|
||||
- run: node scripts/commands/save-results.js
|
||||
- run: node scripts/commands/update-guides.js
|
||||
- run: CHANNELS_PATH=sites/${{inputs.site}}/*.channels.xml npm run queue:create -- --max-clusters=1 --days=2
|
||||
- run: NODE_OPTIONS=--insecure-http-parser npm run cluster:load -- --timeout=30000 --cluster-id=1
|
||||
- run: npm run results:save
|
||||
- run: npm run guides:update
|
||||
- uses: tibdex/github-app-token@v1
|
||||
if: ${{ !env.ACT }}
|
||||
id: create-app-token
|
||||
|
|
2
.github/workflows/_update-api.yml
vendored
2
.github/workflows/_update-api.yml
vendored
|
@ -9,7 +9,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: npm install
|
||||
- run: node scripts/commands/update-api.js
|
||||
- run: npm run api:update
|
||||
- uses: tibdex/github-app-token@v1
|
||||
if: ${{ !env.ACT }}
|
||||
id: create-app-token
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue