From 96403d463ee9f929bb464e09b7a83d290b08a5fc Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Mon, 7 Feb 2022 09:33:09 +0300 Subject: [PATCH] Update auto-update.yml --- .github/workflows/auto-update.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml index 10bb3ced51..89dda0bb4a 100644 --- a/.github/workflows/auto-update.yml +++ b/.github/workflows/auto-update.yml @@ -29,7 +29,11 @@ jobs: - uses: actions/upload-artifact@v2 with: name: database - path: scripts/channels.db + path: scripts/database + - uses: actions/upload-artifact@v2 + with: + name: data + path: scripts/data outputs: matrix: ${{ steps.create-matrix.outputs.matrix }} load: @@ -38,7 +42,9 @@ jobs: continue-on-error: true strategy: fail-fast: false - matrix: ${{ fromJson(needs.setup.outputs.matrix) }} + # matrix: ${{ fromJson(needs.setup.outputs.matrix) }} + matrix: + cluster_id: [1] steps: - uses: actions/checkout@v2 - uses: actions/download-artifact@v2 @@ -71,6 +77,10 @@ jobs: with: name: database path: scripts + - uses: actions/download-artifact@v2 + with: + name: data + path: scripts - uses: actions/download-artifact@v2 with: name: logs @@ -84,7 +94,7 @@ jobs: - uses: actions/upload-artifact@v2 with: name: database - path: scripts/channels.db + path: scripts/database - run: node scripts/commands/update-playlists.js - run: git add channels/* - run: git commit -m "[Bot] Update playlists"