Readme sponsors (#5789)

* Add sponsors action

- Automatically show list of project sponsors
- Ref: https://github.com/JamesIves/github-sponsors-readme-action

* Update README.md

* Pin workflow action versions
This commit is contained in:
Oliver 2023-10-26 17:35:18 +11:00 committed by GitHub
parent 02d55b9c87
commit a1cb954cb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 2 deletions

23
.github/workflows/sponsors.yml vendored Normal file
View File

@ -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@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Generate Sponsors 💖
uses: JamesIves/github-sponsors-readme-action@a2d75a8d58b117b19777a910e284ccb082aaf117
with:
token: ${{ secrets.INVENTREE_SPONSORS_TOKEN }}
file: 'README.md'
- name: Deploy to GitHub Pages 🚀
uses: JamesIves/github-pages-deploy-action@a1ea191d508feb8485aceba848389d49f80ca2dc
with:
branch: main
folder: '.'

View File

@ -154,12 +154,22 @@ We would like to acknowledge a few special projects:
Find a full list of used third-party libraries in [our documentation](https://docs.inventree.org/en/latest/credits/).
<p>This project is supported by:</p>
<p>
## :heart: Support
<p>This project is supported by the following sponsors:</p>
<p align="center">
<!-- sponsors --><!-- sponsors -->
</p>
<p>With ongoing resources provided by:</p>
<p align="center">
<a href="https://inventree.org/digitalocean">
<img src="https://opensource.nyc3.cdn.digitaloceanspaces.com/attribution/assets/SVG/DO_Logo_horizontal_blue.svg" width="201px">
</a>
<a href="https://www.netlify.com"> <img src="https://www.netlify.com/v3/img/components/netlify-color-bg.svg" alt="Deploys by Netlify" /> </a>
<a href="https://crowdin.com"> <img src="https://crowdin.com/images/crowdin-logo.svg" alt="Crowdin" /> </a>
</p>