Skip to content

feat: custom sponsor template #4

feat: custom sponsor template

feat: custom sponsor template #4

Workflow file for this run

name: Generate Sponsors README
on:
push:
branches: [ readme-sponsors ]
workflow_dispatch:
schedule:
- cron: 13 13 * * *
permissions:
contents: write
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.GITHUB_TOKEN }}
file: 'README.md'
organization: true
active-only: false
template: '<a href="https://github.com/{{{ login }}}"><img src="https://github.com/{{{ login }}}.png" width="48px" alt="{{{ login }}}" style="border-radius:50%" /></a> &nbsp; '
# ⚠️ Note: You can use any deployment step here to automatically push the README
# changes back to your branch.
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: readme-sponsors
folder: '.'