-
-
Notifications
You must be signed in to change notification settings - Fork 22
33 lines (29 loc) · 952 Bytes
/
sponsors.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Update Sponsors
on:
workflow_dispatch:
schedule:
- cron: 30 15 * * *
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
lfs: true
- name: Generate Sponsors 💖
uses: JamesIves/github-sponsors-readme-action@v1
if: github.repository == 'Rollczi/LiteCommands'
with:
token: ${{ secrets.PAT }}
file: 'README.md'
template: <a href="https://github.com/{{{ login }}}"><img src="https://images.weserv.nl/?url=https://github.com/{{{ login }}}.png?v=4&mask=circle" width="60px" alt="{{{ name }}}" /></a>
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
if: github.repository == 'Rollczi/LiteCommands'
with:
commit-message: Update Sponsors in README.md
branch: master
folder: '.'