Publish Sponsors 💖 #129
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: Publish Sponsors 💖 | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: 30 15 * * 0-6 | |
permissions: | |
contents: write | |
jobs: | |
generate-sponsors: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v4 | |
- 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="{{ avatarUrl }}" width="25px" alt="{{{ login }}}" /></a> ' | |
active-only: false | |
include-private: true | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: beta | |
folder: "." | |
commit-message: "chore: Update sponsors 💖 [skip ci]" |