summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2023-08-14 16:39:39 +0900
committerGitHub <noreply@github.com>2023-08-14 16:39:39 +0900
commit6509f099616e843d312d1393eaf6400faa050fa6 (patch)
tree34e7c631ff7bbdbeb16018db73f8967e2cc73f3f /.github
parent3c279a6f0e524fd2261bd2aa9386e6a28e0ccf05 (diff)
Set up GitHub Sponsors Readme Action (#3398)
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: '.'