From a1cb954cb04d88d72c40095d0a8ab857588979e7 Mon Sep 17 00:00:00 2001 From: Oliver Date: Thu, 26 Oct 2023 17:35:18 +1100 Subject: [PATCH] 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 --- .github/workflows/sponsors.yml | 23 +++++++++++++++++++++++ README.md | 14 ++++++++++++-- 2 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/sponsors.yml diff --git a/.github/workflows/sponsors.yml b/.github/workflows/sponsors.yml new file mode 100644 index 0000000000..04fd98573c --- /dev/null +++ b/.github/workflows/sponsors.yml @@ -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: '.' diff --git a/README.md b/README.md index 851d63f35f..2669815e86 100644 --- a/README.md +++ b/README.md @@ -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/). -

This project is supported by:

-

+## :heart: Support + +

This project is supported by the following sponsors:

+ +

+ +

+ +

With ongoing resources provided by:

+ +

Deploys by Netlify + Crowdin