From 4cea5ad5d05fca7ab62ff61678e135afc1c673c6 Mon Sep 17 00:00:00 2001 From: adi1090x Date: Sat, 13 Aug 2022 16:53:14 +0530 Subject: [PATCH] Added gh-action to automatically add sponsors to README --- .github/workflows/sponsors.yml | 23 +++++++++++++++++++++++ README.md | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/sponsors.yml diff --git a/.github/workflows/sponsors.yml b/.github/workflows/sponsors.yml new file mode 100644 index 0000000..98e1cc5 --- /dev/null +++ b/.github/workflows/sponsors.yml @@ -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: '.' diff --git a/README.md b/README.md index 8f121e6..dfaa247 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -rofi +