Skip to content

Commit

Permalink
add automatic sponsor list in README (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
hitman99 authored Jul 18, 2023
1 parent 81aef44 commit 8380a40
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/sponsors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Generate Sponsors README
on:
workflow_dispatch:
schedule:
- cron: 30 15 * * 0-6
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.SPONSORS_PAT }}
file: 'README.md'

- name: Deploy to GitHub Pages 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: master
folder: '.'
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,18 @@ helm upgrade --install -n operators ext-postgres-operator ext-postgres-operator
```

----------------------------------------------------------

## Sponsors

Please consider sponsoring my work
<!-- Place this tag where you want the button to render. -->

<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>

<p align="center">
Current sponsors:

<!-- sponsors --><!-- sponsors -->
</p>

## Features

* Creates a database from a CR
Expand Down

0 comments on commit 8380a40

Please sign in to comment.