From 492e7193a9b30440ec28283a79323766923ed85e Mon Sep 17 00:00:00 2001 From: andatoshiki Date: Tue, 28 Mar 2023 18:58:14 +0800 Subject: [PATCH] ci: fix revert back push action for successful update --- .github/workflows/rss.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rss.yml b/.github/workflows/rss.yml index 4068595..b36d3b3 100644 --- a/.github/workflows/rss.yml +++ b/.github/workflows/rss.yml @@ -29,5 +29,10 @@ jobs: git config --global user.email "hello@toshiki.dev" git config --global user.name "@andatoshiki" git add -A - git commit -m 'chore(update): update readme with the latest rss feeds' || exit 0 - git push -f origin master \ No newline at end of file + git commit -a -m 'chore(update): update readme with the latest rss feeds' || exit 0 + git push -f origin master + - name: Push changes to remote repository + uses: ad-m/github-push-action@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: ${{ github.ref }} \ No newline at end of file