From 121e08c18eed3f144b0f6a696c9ad0f9075b447e Mon Sep 17 00:00:00 2001 From: Toran Bruce Richards Date: Fri, 21 Apr 2023 12:19:30 +1200 Subject: [PATCH] Create sponsors_readme.yml --- .github/workflows/sponsors_readme.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/sponsors_readme.yml diff --git a/.github/workflows/sponsors_readme.yml b/.github/workflows/sponsors_readme.yml new file mode 100644 index 00000000..94ac3230 --- /dev/null +++ b/.github/workflows/sponsors_readme.yml @@ -0,0 +1,25 @@ +name: Generate Sponsors README +on: + workflow_dispatch: + schedule: + - cron: '0 */12 * * *' +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout 🛎️ + uses: actions/checkout@v2 + + - name: Generate Sponsors 💖 + uses: JamesIves/github-sponsors-readme-action@v1 + with: + token: ${{ secrets.PAT }} + file: 'README.md' + minimum: 2500 + maximum: 99999 + + - name: Deploy to GitHub Pages 🚀 + uses: JamesIves/github-pages-deploy-action@v4 + with: + branch: main + folder: '.'