From f7d94bc7a81fcef6eb09b1acec49147a76d30aa9 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Sat, 22 Jan 2022 02:06:18 +0300 Subject: [PATCH] Update auto-update.yml --- .github/workflows/auto-update.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml index 79bcbf6d..4ca644b6 100644 --- a/.github/workflows/auto-update.yml +++ b/.github/workflows/auto-update.yml @@ -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