ci: fix revert back push action for successful update

This commit is contained in:
Anda Toshiki 2023-03-28 18:58:14 +08:00
parent d54c795265
commit 492e7193a9

View File

@ -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
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 }}