Update auto-update.yml
This commit is contained in:
parent
10971f3751
commit
96403d463e
16
.github/workflows/auto-update.yml
vendored
16
.github/workflows/auto-update.yml
vendored
@ -29,7 +29,11 @@ jobs:
|
|||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: database
|
name: database
|
||||||
path: scripts/channels.db
|
path: scripts/database
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: data
|
||||||
|
path: scripts/data
|
||||||
outputs:
|
outputs:
|
||||||
matrix: ${{ steps.create-matrix.outputs.matrix }}
|
matrix: ${{ steps.create-matrix.outputs.matrix }}
|
||||||
load:
|
load:
|
||||||
@ -38,7 +42,9 @@ jobs:
|
|||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix: ${{ fromJson(needs.setup.outputs.matrix) }}
|
# matrix: ${{ fromJson(needs.setup.outputs.matrix) }}
|
||||||
|
matrix:
|
||||||
|
cluster_id: [1]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
@ -71,6 +77,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: database
|
name: database
|
||||||
path: scripts
|
path: scripts
|
||||||
|
- uses: actions/download-artifact@v2
|
||||||
|
with:
|
||||||
|
name: data
|
||||||
|
path: scripts
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: logs
|
name: logs
|
||||||
@ -84,7 +94,7 @@ jobs:
|
|||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: database
|
name: database
|
||||||
path: scripts/channels.db
|
path: scripts/database
|
||||||
- run: node scripts/commands/update-playlists.js
|
- run: node scripts/commands/update-playlists.js
|
||||||
- run: git add channels/*
|
- run: git add channels/*
|
||||||
- run: git commit -m "[Bot] Update playlists"
|
- run: git commit -m "[Bot] Update playlists"
|
||||||
|
Loading…
Reference in New Issue
Block a user