Skip to content

Commit

Permalink
add: sponsors-readme-workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
iwilltry42 committed Oct 27, 2023
1 parent 55c1344 commit 1389985
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/sponsors-readme.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Generate Sponsors README
on:
push:
branches:
- main
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.READER_PAT }}
file: 'README.md'
template: '* [{{{ name }}}]({{{ url }}}) - {{{ login }}}'

- name: Deploy to GitHub Pages 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: main
folder: '.'
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,3 +172,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!

## Sponsors

Thanks to all our amazing sponsors! 🙏

<!-- sponsors --><!-- sponsors -->

0 comments on commit 1389985

Please sign in to comment.