From dc2cc12cc253e7a7359170c22fcdc29a54201d27 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Sat, 12 Feb 2022 04:28:39 +0300 Subject: [PATCH] Update auto-update.yml --- .github/workflows/auto-update.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml index 0dff5b7ea7..8ed50eca2d 100644 --- a/.github/workflows/auto-update.yml +++ b/.github/workflows/auto-update.yml @@ -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 }}