Update auto-update.yml
This commit is contained in:
parent
1a86a3dfe1
commit
91e340639d
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in New Issue