Update auto-update.yml

This commit is contained in:
Aleksandr Statciuk 2022-02-15 23:05:34 +03:00
parent 1a86a3dfe1
commit 91e340639d
1 changed files with 4 additions and 5 deletions

View File

@ -43,9 +43,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: # matrix:
cluster_id: [1] # cluster_id: [1]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: FedericoCarboni/setup-ffmpeg@v1 - uses: FedericoCarboni/setup-ffmpeg@v1
@ -57,7 +57,6 @@ jobs:
with: with:
name: database name: database
path: scripts/database path: scripts/database
- run: ls scripts/database
- run: npm install - run: npm install
- run: npm run cluster:load -- --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
@ -139,7 +138,7 @@ jobs:
git commit -m "[Bot] Update README.md" git commit -m "[Bot] Update README.md"
git push -u origin ${{ steps.create-branch-name.outputs.branch_name }} git push -u origin ${{ steps.create-branch-name.outputs.branch_name }}
- uses: repo-sync/pull-request@v2 - uses: repo-sync/pull-request@v2
if: ${{ !env.ACT }} if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
id: pull-request id: pull-request
with: with:
github_token: ${{ steps.create-app-token.outputs.token }} github_token: ${{ steps.create-app-token.outputs.token }}