Update auto-update.yml
This commit is contained in:
parent
67985d5d99
commit
dc2cc12cc2
|
@ -27,8 +27,8 @@ jobs:
|
||||||
name: data
|
name: data
|
||||||
path: scripts/data
|
path: scripts/data
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: node scripts/commands/database/create.js
|
- run: npm run db:create
|
||||||
- run: node scripts/commands/database/matrix.js
|
- run: npm run db:matrix
|
||||||
id: create-matrix
|
id: create-matrix
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
@ -57,7 +57,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: '14'
|
node-version: '14'
|
||||||
- run: npm install
|
- 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
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: logs
|
name: logs
|
||||||
|
@ -90,20 +90,20 @@ jobs:
|
||||||
name: logs
|
name: logs
|
||||||
path: scripts/logs
|
path: scripts/logs
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: node scripts/commands/database/update.js
|
- run: npm run db:update
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: database
|
name: database
|
||||||
path: scripts/database
|
path: scripts/database
|
||||||
- run: node scripts/commands/playlist/update.js
|
- run: npm run playlist:update
|
||||||
- run: git add channels/*
|
- run: git add channels/*
|
||||||
- run: git commit -m "[Bot] Update playlists"
|
- run: git commit -m "[Bot] Update playlists"
|
||||||
- run: node scripts/commands/playlist/generate.js
|
- run: npm run playlist:generate
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: logs
|
name: logs
|
||||||
path: scripts/logs
|
path: scripts/logs
|
||||||
- run: node scripts/commands/readme/update.js
|
- run: npm run readme:update
|
||||||
- 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"
|
||||||
- run: git push -u origin ${{ steps.create-branch-name.outputs.branch_name }}
|
- run: git push -u origin ${{ steps.create-branch-name.outputs.branch_name }}
|
||||||
|
|
Loading…
Reference in New Issue