diff --git a/.github/workflows/rss.yml b/.github/workflows/rss.yml index 83e1527..9ebfd47 100644 --- a/.github/workflows/rss.yml +++ b/.github/workflows/rss.yml @@ -23,15 +23,17 @@ jobs: - name: Generate RSS feeds from source into Markdown formatting run: | yarn generate - - name: Commit changed README file and push to repository + - name: Commit changed README file run: | git diff git config --global user.email "hello@toshiki.dev" git config --global user.name "@andatoshiki" + git remote set-url --push origin https://andatoshiki:${{ secrets.GH_PAT }}@github.com/andatoshiki/andatoshiki git add . git commit -m 'chore(update): update readme with the latest rss feeds' - - name: Push changes to repository - uses: ad-m/github-push-action@master - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - branch: ${{ github.ref }} \ No newline at end of file + git push -f origin master + # - name: Push changes to repository + # uses: ad-m/github-push-action@master + # with: + # github_token: ${{ secrets.GITHUB_TOKEN }} + # branch: ${{ github.ref }} \ No newline at end of file