Browse Source

Automatically generate the sponsors list on push

pull/1455/head
Kévin Chalet 4 years ago
parent
commit
175e7c5065
  1. 29
      .github/workflows/push.yml
  2. 4
      README.md

29
.github/workflows/push.yml

@ -0,0 +1,29 @@
name: push
on:
push:
branches:
- dev
jobs:
sponsor_job:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Generate sponsors section
uses: JamesIves/github-sponsors-readme-action@v1.0.8
with:
token: ${{ secrets.SPONSORS_TOKEN }}
file: 'README.md'
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: dev
folder: '.'
token: ${{ secrets.GITHUB_TOKEN }}
git-config-name: OpenIddict Bot
git-config-email: 32257313+openiddict-bot@users.noreply.github.com
commit-message: Update the sponsors section

4
README.md

@ -125,7 +125,9 @@ To reference the OpenIddict MyGet feed, **create a `NuGet.config` file** (at the
**OpenIddict** is actively maintained by **[Kévin Chalet](https://github.com/kevinchalet)**. Contributions are welcome and can be submitted using pull requests. **OpenIddict** is actively maintained by **[Kévin Chalet](https://github.com/kevinchalet)**. Contributions are welcome and can be submitted using pull requests.
**Special thanks to [our sponsors](https://github.com/sponsors/kevinchalet#sponsors) for their incredible support**. **Special thanks to [our sponsors](https://github.com/sponsors/kevinchalet#sponsors) for their incredible support**:
<!-- sponsors --><!-- sponsors -->
## License ## License

Loading…
Cancel
Save