Update auto-update.yml

This commit is contained in:
Aleksandr Statciuk 2022-02-12 04:28:39 +03:00
parent 67985d5d99
commit dc2cc12cc2
1 changed files with 7 additions and 7 deletions

View File

@ -27,8 +27,8 @@ jobs:
name: data
path: scripts/data
- run: npm install
- run: node scripts/commands/database/create.js
- run: node scripts/commands/database/matrix.js
- run: npm run db:create
- run: npm run db:matrix
id: create-matrix
- uses: actions/upload-artifact@v2
with:
@ -57,7 +57,7 @@ jobs:
with:
node-version: '14'
- run: npm install
- run: node scripts/commands/stream/load.js --cluster-id=${{ matrix.cluster_id }}
- run: npm run cluster:load -- --cluster-id=${{ matrix.cluster_id }}
- uses: actions/upload-artifact@v2
with:
name: logs
@ -90,20 +90,20 @@ jobs:
name: logs
path: scripts/logs
- run: npm install
- run: node scripts/commands/database/update.js
- run: npm run db:update
- uses: actions/upload-artifact@v2
with:
name: database
path: scripts/database
- run: node scripts/commands/playlist/update.js
- run: npm run playlist:update
- run: git add channels/*
- run: git commit -m "[Bot] Update playlists"
- run: node scripts/commands/playlist/generate.js
- run: npm run playlist:generate
- uses: actions/upload-artifact@v2
with:
name: logs
path: scripts/logs
- run: node scripts/commands/readme/update.js
- run: npm run readme:update
- run: git add README.md
- run: git commit -m "[Bot] Update README.md"
- run: git push -u origin ${{ steps.create-branch-name.outputs.branch_name }}