mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 09:00:07 -04:00
Update auto-update.yml
This commit is contained in:
parent
93931a87ed
commit
f7d94bc7a8
1 changed files with 6 additions and 2 deletions
8
.github/workflows/auto-update.yml
vendored
8
.github/workflows/auto-update.yml
vendored
|
@ -84,6 +84,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: logs
|
name: logs
|
||||||
path: scripts/logs
|
path: scripts/logs
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: errors.log
|
||||||
|
path: scripts/logs/errors.log
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: channels.json
|
name: channels.json
|
||||||
|
@ -119,13 +123,13 @@ jobs:
|
||||||
|
|
||||||
[1]: https://github.com/iptv-org/epg/actions/runs/${{ github.run_id }}
|
[1]: https://github.com/iptv-org/epg/actions/runs/${{ github.run_id }}
|
||||||
- uses: juliangruber/merge-pull-request-action@v1
|
- uses: juliangruber/merge-pull-request-action@v1
|
||||||
if: ${{ 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
|
||||||
- uses: JamesIves/github-pages-deploy-action@4.1.1
|
- uses: JamesIves/github-pages-deploy-action@4.1.1
|
||||||
if: ${{ 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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue