diff --git a/.github/workflows/readme-sponsors.yml b/.github/workflows/readme-sponsors.yml new file mode 100644 index 0000000..af645b6 --- /dev/null +++ b/.github/workflows/readme-sponsors.yml @@ -0,0 +1,27 @@ +name: Generate Sponsors README +on: + workflow_dispatch: + schedule: + - cron: 30 15 * * 0-6 +permissions: + contents: write +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout 🛎️ + uses: actions/checkout@v6 + + - name: Generate Sponsors 💖 + uses: JamesIves/github-sponsors-readme-action@v1 + with: + token: ${{ secrets.PAT }} + file: 'README.md' + + # ⚠️ Note: You can use any deployment step here to automatically push the README + # changes back to your branch. + - name: Deploy to GitHub Pages 🚀 + uses: JamesIves/github-pages-deploy-action@v4 + with: + branch: main + folder: '.' \ No newline at end of file diff --git a/README.md b/README.md index c78b639..c90584f 100644 --- a/README.md +++ b/README.md @@ -98,3 +98,7 @@ public struct WrapperList ``` In this case, it will generate a class for `IDynamoDBContext` called `DynamoDBContextDecorator`. This feature will also work for your own interfaces if you prefer this approach instead of using the attribute. + +# Sponsors + + \ No newline at end of file