Skip to content

Generate Sponsors README #239

Generate Sponsors README

Generate Sponsors README #239

name: Generate Sponsors README
on:
workflow_dispatch:
schedule:
- cron: 30 15 * * 0-6
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Generate Sponsors 💖
uses: JamesIves/github-sponsors-readme-action@v1
with:
token: ${{ secrets.READER_PAT }}
file: 'README.md'
template: '<li><a href="{{{ url }}}">[<strong>{{{ login }}}</strong>]</a> {{{ name }}}</li>'
organization: true
- name: Deploy to GitHub Pages 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: main
git-config-name: GHA-Sponsors
folder: '.'
token: ${{ secrets.WRITER_PAT }}