Update auto-update.yml

test
This commit is contained in:
Aleksandr Statciuk 2022-02-22 08:36:40 +03:00
parent 837c6c4e64
commit a3f84b0062
1 changed files with 31 additions and 31 deletions

View File

@ -28,7 +28,7 @@ jobs:
name: data name: data
path: scripts/data path: scripts/data
- run: npm install - run: npm install
- run: npm run db:create - run: npm run db:create -- --max-clusters=30000
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:
name: database name: database
@ -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
@ -132,30 +132,30 @@ jobs:
This pull request is created by [auto-update][1] workflow. This pull request is created by [auto-update][1] workflow.
[1]: https://github.com/iptv-org/iptv/actions/runs/${{ github.run_id }} [1]: https://github.com/iptv-org/iptv/actions/runs/${{ github.run_id }}
- uses: JamesIves/github-pages-deploy-action@4.1.1 # - uses: JamesIves/github-pages-deploy-action@4.1.1
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }} # if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
with: # with:
branch: gh-pages # branch: gh-pages
folder: .gh-pages # folder: .gh-pages
token: ${{ steps.create-app-token.outputs.token }} # token: ${{ steps.create-app-token.outputs.token }}
git-config-name: iptv-bot[bot] # git-config-name: iptv-bot[bot]
git-config-email: 84861620+iptv-bot[bot]@users.noreply.github.com # git-config-email: 84861620+iptv-bot[bot]@users.noreply.github.com
commit-message: '[Bot] Generate playlists' # commit-message: '[Bot] Generate playlists'
clean: false # clean: false
- uses: JamesIves/github-pages-deploy-action@4.1.1 # - uses: JamesIves/github-pages-deploy-action@4.1.1
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }} # if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
with: # with:
repository-name: iptv-org/api # repository-name: iptv-org/api
branch: gh-pages # branch: gh-pages
folder: .api # folder: .api
token: ${{ steps.create-app-token.outputs.token }} # token: ${{ steps.create-app-token.outputs.token }}
git-config-name: iptv-bot[bot] # git-config-name: iptv-bot[bot]
git-config-email: 84861620+iptv-bot[bot]@users.noreply.github.com # git-config-email: 84861620+iptv-bot[bot]@users.noreply.github.com
commit-message: '[Bot] Deploy to iptv-org/api' # commit-message: '[Bot] Deploy to iptv-org/api'
clean: false # clean: false
- uses: juliangruber/merge-pull-request-action@v1 # - uses: juliangruber/merge-pull-request-action@v1
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }} # if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
with: # with:
github-token: ${{ secrets.PAT }} # github-token: ${{ secrets.PAT }}
number: ${{ steps.pull-request.outputs.pr_number }} # number: ${{ steps.pull-request.outputs.pr_number }}
method: squash # method: squash