From 7748e4dc2b895e6d67418f2cc314958c32abb4f7 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Tue, 22 Feb 2022 13:53:56 +0300 Subject: [PATCH] Update auto-update.yml --- .github/workflows/auto-update.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml index abe5baad26..f373aecdc2 100644 --- a/.github/workflows/auto-update.yml +++ b/.github/workflows/auto-update.yml @@ -132,7 +132,8 @@ jobs: This pull request is created by [auto-update][1] workflow. [1]: https://github.com/iptv-org/iptv/actions/runs/${{ github.run_id }} - - uses: JamesIves/github-pages-deploy-action@4.2.0 + - name: Deploy to GitHub Pages + uses: JamesIves/github-pages-deploy-action@4.2.0 if: ${{ !env.ACT && github.ref == 'refs/heads/master' }} with: branch: gh-pages @@ -142,7 +143,9 @@ jobs: git-config-email: 84861620+iptv-bot[bot]@users.noreply.github.com commit-message: '[Bot] Deploy to GitHub Pages' clean: false - - uses: JamesIves/github-pages-deploy-action@4.2.0 + - run: git checkout -b ${{ steps.create-branch-name.outputs.branch_name }} + - name: Deploy to iptv-org/api + uses: JamesIves/github-pages-deploy-action@4.2.0 if: ${{ !env.ACT && github.ref == 'refs/heads/master' }} with: repository-name: iptv-org/api