github-pages-deploy-action/.github/workflows/sponsors.yml

27 lines
740 B
YAML
Raw Normal View History

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-01-06 21:39:45 +08:00
uses: actions/checkout@v2.4.0
2021-05-06 11:20:11 +08:00
- name: Generate Sponsors 💖
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>&nbsp;&nbsp;'
2021-05-06 21:06:50 +08:00
minimum: 500
2021-05-06 11:20:11 +08:00
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.2.2
2021-05-06 11:20:11 +08:00
with:
branch: dev
folder: '.'