Update Sponsors #383
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: Update Sponsors | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: 30 15 * * * | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
lfs: true | |
- name: Generate Sponsors 💖 | |
uses: JamesIves/github-sponsors-readme-action@v1 | |
with: | |
token: ${{ secrets.PAT }} | |
file: 'README.md' | |
template: <a href="https://github.com/{{{ login }}}"><img src="https://images.weserv.nl/?url=https://github.com/{{{ login }}}.png?v=4&mask=circle" width="60px" alt="{{{ name }}}" /></a> | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
commit-message: Update Sponsors in README.md | |
branch: master | |
folder: '.' |