|
|
|
@ -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 }}
|
|
|
|
|