Added gh-action to automatically add sponsors to README
This commit is contained in:
parent
4596cdea4a
commit
4cea5ad5d0
2 changed files with 24 additions and 1 deletions
23
.github/workflows/sponsors.yml
vendored
Normal file
23
.github/workflows/sponsors.yml
vendored
Normal 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: '.'
|
|
@ -1 +1 @@
|
||||||
rofi
|
<!-- sponsors --><!-- sponsors -->
|
||||||
|
|
Loading…
Reference in a new issue