Update auto-update.yml

This commit is contained in:
Aleksandr Statciuk 2022-01-22 02:06:18 +03:00
parent 93931a87ed
commit f7d94bc7a8

View file

@ -84,6 +84,10 @@ jobs:
with:
name: logs
path: scripts/logs
- uses: actions/upload-artifact@v2
with:
name: errors.log
path: scripts/logs/errors.log
- uses: actions/upload-artifact@v2
with:
name: channels.json
@ -119,13 +123,13 @@ jobs:
[1]: https://github.com/iptv-org/epg/actions/runs/${{ github.run_id }}
- uses: juliangruber/merge-pull-request-action@v1
if: ${{ github.ref == 'refs/heads/master' }}
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
with:
github-token: ${{ secrets.PAT }}
number: ${{ steps.pull-request.outputs.pr_number }}
method: squash
- uses: JamesIves/github-pages-deploy-action@4.1.1
if: ${{ github.ref == 'refs/heads/master' }}
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
with:
branch: gh-pages
folder: .gh-pages