Added gh-action to automatically add sponsors to README

This commit is contained in:
adi1090x 2022-08-13 16:53:14 +05:30
parent 4596cdea4a
commit 4cea5ad5d0
2 changed files with 24 additions and 1 deletions

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

@ -0,0 +1,23 @@
name: Generate Sponsors README
on:
push:
branches:
- master
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.GEN_SPON_TKN }}
file: 'README.md'
- name: Deploy to GitHub Pages 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: master
folder: '.'

View File

@ -1 +1 @@
rofi
<!-- sponsors --><!-- sponsors -->