Skip to content

Commit 966c102

Browse files
committed
Attempt to add sponsors section to readme
1 parent 1d72f1d commit 966c102

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.github/workflows/github-sponsors.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Generate Sponsors README
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: 30 15 * * 0-6
6+
jobs:
7+
deploy:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout 🛎️
11+
uses: actions/checkout@v2
12+
13+
- name: Generate Sponsors 💖
14+
uses: JamesIves/github-sponsors-readme-action@v1
15+
with:
16+
token: ${{ secrets.GITHUB_SPONSORS_PAT }}
17+
file: 'README.md'
18+
19+
- name: Deploy to GitHub Pages 🚀
20+
uses: JamesIves/github-pages-deploy-action@v4
21+
with:
22+
branch: main
23+
folder: '.'

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,3 +352,7 @@ This project is licensed under the MIT [License](LICENSE).
352352
## Contact 💌
353353

354354
For questions or feedback, please raise an issue or reach out to @beveradb ([Andrew Beveridge](mailto:andrew@beveridge.uk)) directly.
355+
356+
## Sponsors
357+
358+
<!-- sponsors --><!-- sponsors -->

0 commit comments

Comments
 (0)