Generate Sponsors README #779
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate Sponsors README | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: 30 15 * * 0-6 | |
jobs: | |
deploy: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v4 | |
- name: Generate Sponsors 💖 | |
uses: JamesIves/github-sponsors-readme-action@v1 | |
with: | |
organization: true | |
minimum: 4900 | |
maximum: 5100 | |
fallback: 'No bronze sponsors yet. <a href="https://github.com/sponsors/serversideup">Become a sponsor →</a>' | |
token: ${{ secrets.SPONSORS_README_ACTION_PERSONAL_ACCESS_TOKEN }} | |
marker: 'bronze' | |
template: '<a href="https://github.com/{{{ login }}}"><img src="https://github.com/{{{ login }}}.png" width="40px" alt="{{{ login }}}" /></a> ' | |
file: 'README.md' | |
- name: Generate Sponsors 💖 | |
uses: JamesIves/github-sponsors-readme-action@v1 | |
with: | |
organization: true | |
maximum: 500 | |
fallback: '<p align="center"><a href="https://github.com/sponsors/serversideup"><img src="https://521public.s3.amazonaws.com/serversideup/sponsors/sponsor-empty-state.png" alt="Sponsors"></a></p>' | |
token: ${{ secrets.SPONSORS_README_ACTION_PERSONAL_ACCESS_TOKEN }} | |
marker: 'supporters' | |
template: '<a href="https://github.com/{{{ login }}}"><img src="https://github.com/{{{ login }}}.png" width="40px" alt="{{{ login }}}" /></a> ' | |
file: 'README.md' | |
- name: Deploy to GitHub Pages 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: main | |
folder: '.' |