Update sponsors_readme.yml

This commit is contained in:
Toran Bruce Richards
2023-04-21 12:38:18 +12:00
committed by GitHub
parent ad6f18b737
commit 48f4119fb7

View File

@@ -9,7 +9,6 @@ jobs:
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
- name: Generate Sponsors 💖
uses: JamesIves/github-sponsors-readme-action@v1
with:
@@ -17,13 +16,10 @@ jobs:
file: 'README.md'
minimum: 2500
maximum: 99999
- name: Commit and push changes 🚀
env:
GITHUB_TOKEN: ${{ secrets.README_UPDATER_PAT }}
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add .
git diff --quiet && git diff --staged --quiet || git commit -m "Update Sponsors in README"
git push
- name: Deploy to GitHub Pages 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: master
folder: '.'
token: ${{ secrets.README_UPDATER_PAT }}