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 🛎️
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Generate Sponsors 💖
|
|
|
|
uses: JamesIves/github-sponsors-readme-action@releases/v1
|
|
|
|
with:
|
|
|
|
token: ${{ secrets.PAT }}
|
|
|
|
file: 'README.md'
|
2021-05-06 11:39:54 +08:00
|
|
|
template: '<a href="https://github.com/{{{ login }}}"><img src="https://github.com/{{{ login }}}.png" width="50px" alt="" /></a>'
|
2021-05-06 21:06:50 +08:00
|
|
|
minimum: 500
|
2021-05-06 11:20:11 +08:00
|
|
|
|
|
|
|
- name: Deploy to GitHub Pages
|
2021-05-12 07:23:56 +08:00
|
|
|
uses: JamesIves/github-pages-deploy-action@4.1.3
|
2021-05-06 11:20:11 +08:00
|
|
|
with:
|
|
|
|
branch: dev
|
2021-05-10 21:18:05 +08:00
|
|
|
folder: '.'
|