mirror of
https://github.com/iptv-org/epg
synced 2025-12-22 13:26:56 -05:00
Update auto-update.yml
This commit is contained in:
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"
|
||||
|
||||
Reference in New Issue
Block a user