2021-05-06 11:20:11 +08:00
|
|
|
name: publish-sponsors
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
schedule:
|
|
|
|
- cron: 30 15 * * 0-6
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
generate-sponsors:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout 🛎️
|
2022-03-02 19:48:26 +08:00
|
|
|
uses: actions/checkout@v3
|
2021-05-06 11:20:11 +08:00
|
|
|
|
|
|
|
- name: Generate Sponsors 💖
|
2022-01-11 21:13:06 +08:00
|
|
|
uses: JamesIves/github-sponsors-readme-action@v1.0.8
|
2021-05-06 11:20:11 +08:00
|
|
|
with:
|
|
|
|
token: ${{ secrets.PAT }}
|
|
|
|
file: 'README.md'
|
2022-01-12 20:59:06 +08:00
|
|
|
template: '<a href="https://github.com/{{{ login }}}"><img src="https://github.com/{{{ login }}}.png" width="50px" alt="{{{ login }}}" /></a> '
|
2022-01-12 21:29:34 +08:00
|
|
|
maximum: 9999
|
2022-06-26 10:22:34 +08:00
|
|
|
organization: true
|
2022-01-31 21:08:23 +08:00
|
|
|
|
2022-01-12 21:29:34 +08:00
|
|
|
- name: Generate Sponsors 💖
|
|
|
|
uses: JamesIves/github-sponsors-readme-action@v1.0.8
|
|
|
|
with:
|
|
|
|
token: ${{ secrets.PAT }}
|
|
|
|
file: 'README.md'
|
|
|
|
minimum: 10000
|
|
|
|
template: '<a href="https://github.com/{{{ login }}}"><img src="https://github.com/{{{ login }}}.png" width="80px" alt="{{{ login }}}" /></a> '
|
|
|
|
marker: 'premium'
|
2022-06-26 10:22:34 +08:00
|
|
|
organization: true
|
2022-01-12 21:29:34 +08:00
|
|
|
|
2021-05-06 11:20:11 +08:00
|
|
|
- name: Deploy to GitHub Pages
|
2022-04-27 00:40:03 +08:00
|
|
|
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
2021-05-06 11:20:11 +08:00
|
|
|
with:
|
|
|
|
branch: dev
|
2021-05-10 21:18:05 +08:00
|
|
|
folder: '.'
|