Update auto-update.yml

This commit is contained in:
Aleksandr Statciuk 2022-02-23 08:42:16 +03:00
parent ff83236070
commit e0da7fd2a5
1 changed files with 9 additions and 9 deletions

View File

@ -115,7 +115,7 @@ jobs:
if: ${{ !env.ACT }}
run: |
git add streams/*
git commit -m "[Bot] Update streams"
git commit -m "[Bot] Update /streams"
git add README.md
git commit -m "[Bot] Update README.md"
git status
@ -132,7 +132,13 @@ jobs:
This pull request is created by [auto-update][1] workflow.
[1]: https://github.com/iptv-org/iptv/actions/runs/${{ github.run_id }}
- name: Deploy to GitHub Pages
- uses: juliangruber/merge-pull-request-action@v1
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
with:
github-token: ${{ secrets.PAT }}
number: ${{ steps.pull-request.outputs.pr_number }}
method: squash
- name: deploy to gh-pages
uses: JamesIves/github-pages-deploy-action@v4.2.5
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
with:
@ -143,7 +149,7 @@ jobs:
git-config-email: 84861620+iptv-bot[bot]@users.noreply.github.com
commit-message: '[Bot] Deploy to GitHub Pages'
clean: false
- name: Deploy to iptv-org/api
- name: deploy to iptv-org/api
uses: JamesIves/github-pages-deploy-action@v4.2.5
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
with:
@ -155,9 +161,3 @@ jobs:
git-config-email: 84861620+iptv-bot[bot]@users.noreply.github.com
commit-message: '[Bot] Deploy to iptv-org/api'
clean: false
- uses: juliangruber/merge-pull-request-action@v1
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
with:
github-token: ${{ secrets.PAT }}
number: ${{ steps.pull-request.outputs.pr_number }}
method: squash