Skip to content

Publish Sponsors to README 📣 #1421

Publish Sponsors to README 📣

Publish Sponsors to README 📣 #1421

Workflow file for this run

name: Publish Sponsors to README 📣
on:
workflow_dispatch:
schedule:
- cron: 30 15 * * 0-6
jobs:
generate-sponsors:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
persist-credentials: false
- name: config
run: |
git config --global extensions.worktreeConfig false
git config --global worktree.guessRemoteHEAD false
- name: Generate Sponsors 💖
uses: JamesIves/github-sponsors-readme-action@v1
with:
token: ${{ secrets.PAT }}
file: 'README.md'
maximum: 2499
template: '<a href="https://github.com/{{{ login }}}"><img src="{{{ avatarUrl }}}" width="50px" alt="User avatar: {{{ login }}}" /></a>&nbsp;&nbsp;'
marker: 'real-sponsors'
active-only: false
include-private: true
- name: Generate Sponsors 💖
uses: JamesIves/github-sponsors-readme-action@v1
with:
token: ${{ secrets.PAT }}
file: 'README.md'
minimum: 2500
template: '<a href="https://github.com/{{{ login }}}"><img src="{{{ avatarUrl }}}" width="80px" alt="User avatar: {{{ login }}}" /></a>&nbsp;&nbsp;'
marker: 'real-premium'
active-only: false
include-private: true
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: dev
folder: '.'