Skip to content

Commit 82c9a58

Browse files
committed
docs(readme): add sonspors automatically
1 parent 5f2a621 commit 82c9a58

File tree

4 files changed

+30
-12
lines changed

4 files changed

+30
-12
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,3 @@ jobs:
2626
- run: npm ci
2727
- run: npm test
2828
- run: npm run build
29-

.github/workflows/updatesponsors.yml

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

README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -222,23 +222,17 @@ See [package.json](package.json#L6) for more.
222222

223223
### Sponsors
224224

225-
#### Gold
225+
<!-- sponsors --><!-- sponsors -->
226226

227-
- [Colorful Dots] 500USD/year
228-
229-
#### Silver
230-
231-
- [neverything] 25USD/month
232-
- [Dmitry Iv.] 10USD/month
233-
- [colorkit.co] 10USD/month
234-
235-
#### Bronze
227+
### Past Sponsors
236228

229+
- [Colorful Dots] 500USD
237230
- [krissymashinsky.com] 300USD
238231
- [color.museum] 100CHF
239232
- [@tunnckoCore] 50USD
240233
- [Myriam Aerne] 20CHF
241234
- [Amin] 15USD
235+
- [neverything] 25USD/month
242236

243237
### Project Costs USD
244238

dist/history.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)