summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/sponsors.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/sponsors.yml b/.github/workflows/sponsors.yml
new file mode 100644
index 00000000..d2987228
--- /dev/null
+++ b/.github/workflows/sponsors.yml
@@ -0,0 +1,24 @@
+---
+name: Generate Sponsors README
+on:
+ workflow_dispatch:
+ schedule:
+ - cron: 0 * * * *
+jobs:
+ deploy:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout 🛎️
+ uses: actions/checkout@v2
+
+ - name: Generate Sponsors 💖
+ uses: JamesIves/github-sponsors-readme-action@v1
+ with:
+ token: ${{ secrets.SPONSORS_TOKEN }}
+ file: 'README.md'
+
+ - name: Deploy to GitHub Pages 🚀
+ uses: JamesIves/github-pages-deploy-action@v4
+ with:
+ branch: master
+ folder: '.'