mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 09:00:07 -04:00
Update auto-update.yml
This commit is contained in:
parent
9367c061e9
commit
a9be2eddd1
1 changed files with 4 additions and 12 deletions
16
.github/workflows/auto-update.yml
vendored
16
.github/workflows/auto-update.yml
vendored
|
@ -85,32 +85,24 @@ jobs:
|
||||||
node-version: '14'
|
node-version: '14'
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: node scripts/commands/save-results.js
|
- run: node scripts/commands/save-results.js
|
||||||
|
- run: NODE_OPTIONS="--max-old-space-size=4096" node scripts/commands/update-guides.js
|
||||||
|
- run: NODE_OPTIONS="--max-old-space-size=4096" node scripts/commands/update-api.js
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: database
|
name: database
|
||||||
path: scripts/database
|
path: scripts/database
|
||||||
- run: NODE_OPTIONS="--max-old-space-size=4096" node scripts/commands/update-guides.js
|
|
||||||
- run: NODE_OPTIONS="--max-old-space-size=4096" node scripts/commands/update-api.js
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: logs
|
name: logs
|
||||||
path: scripts/logs
|
path: scripts/logs
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: errors.log
|
name: errors
|
||||||
path: scripts/logs/errors.log
|
path: scripts/logs/errors
|
||||||
- uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: guides.json
|
|
||||||
path: .gh-pages/api/guides.json
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: programs.json
|
name: programs.json
|
||||||
path: .gh-pages/api/programs.json
|
path: .gh-pages/api/programs.json
|
||||||
- uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: guides
|
|
||||||
path: .gh-pages/guides
|
|
||||||
- run: node scripts/commands/update-readme.js
|
- run: node scripts/commands/update-readme.js
|
||||||
- run: git add README.md
|
- run: git add README.md
|
||||||
- run: git commit -m "[Bot] Update README.md"
|
- run: git commit -m "[Bot] Update README.md"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue