mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 09:00:07 -04:00
Update update.yml
This commit is contained in:
parent
1d150e0ab7
commit
c3c70ae627
1 changed files with 12 additions and 1 deletions
13
.github/workflows/update.yml
vendored
13
.github/workflows/update.yml
vendored
|
@ -25,13 +25,24 @@ jobs:
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
if: ${{ !env.ACT }}
|
if: ${{ !env.ACT }}
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 22
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
- name: check *.channels.xml
|
- name: check *.channels.xml
|
||||||
run: |
|
run: |
|
||||||
npm run channels:lint
|
npm run channels:lint
|
||||||
|
- name: update sites.md
|
||||||
|
run: npm run sites:update
|
||||||
|
- run: git status
|
||||||
|
- name: commit changes to sites.md
|
||||||
|
run: |
|
||||||
|
git add SITES.md
|
||||||
|
git status
|
||||||
|
git commit --allow-empty -m "[Bot] Update SITES.md" -m "Committed by [iptv-bot](https://github.com/apps/iptv-bot) via [update](https://github.com/iptv-org/epg/actions/runs/${{ github.run_id }}) workflow." --no-verify
|
||||||
|
- name: push all changes to the repository
|
||||||
|
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
|
||||||
|
run: git push
|
||||||
- name: generate .api/guides.json
|
- name: generate .api/guides.json
|
||||||
run: npm run api:generate
|
run: npm run api:generate
|
||||||
- run: git status
|
- run: git status
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue