From 7b52788ab8bff47775054166dbefa0ad423cf28c Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Sun, 25 Jun 2023 15:27:23 +0300 Subject: [PATCH] Update update.yml --- .github/workflows/update.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 563b5182e..05c77c501 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -40,6 +40,18 @@ jobs: run: npm run api:generate - name: update readme.md run: npm run readme:update + - name: commit changes + uses: stefanzweifel/git-auto-commit-action@v4 + if: ${{ !env.ACT && github.ref == 'refs/heads/master' }} + with: + commit_message: "[Bot] Update README.md" + branch: master + commit_options: '--no-verify' + file_pattern: README.md + repository: . + commit_user_name: iptv-bot[bot] + commit_user_email: 84861620+iptv-bot[bot]@users.noreply.github.com + commit_author: iptv-bot[bot] <84861620+iptv-bot[bot]@users.noreply.github.com> - name: deploy to github pages uses: JamesIves/github-pages-deploy-action@4.1.1 if: ${{ !env.ACT && github.ref == 'refs/heads/master' }} @@ -64,14 +76,3 @@ jobs: git-config-email: 84861620+iptv-bot[bot]@users.noreply.github.com commit-message: '[Bot] Deploy to iptv-org/api' clean: false - - name: commit changes - uses: stefanzweifel/git-auto-commit-action@v4 - if: ${{ !env.ACT && github.ref == 'refs/heads/master' }} - with: - commit_message: "[Bot] Update README.md" - branch: master - commit_options: '--no-verify' - file_pattern: README.md - repository: iptv-org/iptv - commit_user_name: iptv-bot[bot] - commit_user_email: 84861620+iptv-bot[bot]@users.noreply.github.com