mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -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'
|
||||
- run: npm install
|
||||
- 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
|
||||
with:
|
||||
name: 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
|
||||
with:
|
||||
name: logs
|
||||
path: scripts/logs
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: errors.log
|
||||
path: scripts/logs/errors.log
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: guides.json
|
||||
path: .gh-pages/api/guides.json
|
||||
name: errors
|
||||
path: scripts/logs/errors
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: 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: git add README.md
|
||||
- run: git commit -m "[Bot] Update README.md"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue