mirror of
https://github.com/iptv-org/epg
synced 2025-12-21 12:56:55 -05:00
Update _update-readme.yml
This commit is contained in:
7
.github/workflows/_update-readme.yml
vendored
7
.github/workflows/_update-readme.yml
vendored
@@ -4,7 +4,7 @@ on:
|
|||||||
schedule:
|
schedule:
|
||||||
- cron: '0 12 * * *'
|
- cron: '0 12 * * *'
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
update:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@@ -17,6 +17,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir -p scripts/data
|
mkdir -p scripts/data
|
||||||
curl -L -o scripts/data/countries.json https://iptv-org.github.io/api/countries.json
|
curl -L -o scripts/data/countries.json https://iptv-org.github.io/api/countries.json
|
||||||
|
- uses: actions/setup-node@v2
|
||||||
|
if: ${{ !env.ACT }}
|
||||||
|
with:
|
||||||
|
node-version: '14'
|
||||||
|
cache: 'npm'
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm run readme:update
|
- run: npm run readme:update
|
||||||
- name: Commit Changes
|
- name: Commit Changes
|
||||||
|
|||||||
Reference in New Issue
Block a user