diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml new file mode 100644 index 00000000..d5671d48 --- /dev/null +++ b/.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 \ No newline at end of file diff --git a/README.md b/README.md index fd3d1a82..5c78dbae 100644 --- a/README.md +++ b/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. -**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**: + + ## License