Update auto-update.yml
This commit is contained in:
parent
ff83236070
commit
e0da7fd2a5
|
@ -115,7 +115,7 @@ jobs:
|
||||||
if: ${{ !env.ACT }}
|
if: ${{ !env.ACT }}
|
||||||
run: |
|
run: |
|
||||||
git add streams/*
|
git add streams/*
|
||||||
git commit -m "[Bot] Update streams"
|
git commit -m "[Bot] Update /streams"
|
||||||
git add README.md
|
git add README.md
|
||||||
git commit -m "[Bot] Update README.md"
|
git commit -m "[Bot] Update README.md"
|
||||||
git status
|
git status
|
||||||
|
@ -132,7 +132,13 @@ 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 }}
|
||||||
- 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
|
uses: JamesIves/github-pages-deploy-action@v4.2.5
|
||||||
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
|
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
|
||||||
with:
|
with:
|
||||||
|
@ -143,7 +149,7 @@ jobs:
|
||||||
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 GitHub Pages'
|
commit-message: '[Bot] Deploy to GitHub Pages'
|
||||||
clean: false
|
clean: false
|
||||||
- name: Deploy to iptv-org/api
|
- name: deploy to iptv-org/api
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.2.5
|
uses: JamesIves/github-pages-deploy-action@v4.2.5
|
||||||
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
|
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
|
||||||
with:
|
with:
|
||||||
|
@ -155,9 +161,3 @@ jobs:
|
||||||
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
|
|
||||||
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
|
|
||||||
with:
|
|
||||||
github-token: ${{ secrets.PAT }}
|
|
||||||
number: ${{ steps.pull-request.outputs.pr_number }}
|
|
||||||
method: squash
|
|
||||||
|
|
Loading…
Reference in New Issue