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'
|
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"
|
||||||
|
|||||||
Reference in New Issue
Block a user