Skip to content

Commit 8380a40

Browse files
authored
add automatic sponsor list in README (#117)
1 parent 81aef44 commit 8380a40

File tree

2 files changed

+31
-2
lines changed

2 files changed

+31
-2
lines changed

.github/workflows/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.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: master
23+
folder: '.'

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,18 @@ helm upgrade --install -n operators ext-postgres-operator ext-postgres-operator
2121
```
2222

2323
----------------------------------------------------------
24-
24+
## Sponsors
2525

2626
Please consider sponsoring my work
27-
<!-- Place this tag where you want the button to render. -->
27+
2828
<a class="github-button" href="https://github.com/sponsors/hitman99" data-icon="octicon-heart" data-size="large" aria-label="Sponsor @hitman99 on GitHub">Sponsor</a>
2929

30+
<p align="center">
31+
Current sponsors:
32+
33+
<!-- sponsors --><!-- sponsors -->
34+
</p>
35+
3036
## Features
3137

3238
* Creates a database from a CR

0 commit comments

Comments
 (0)