mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
27 lines
715 B
YAML
27 lines
715 B
YAML
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'
|
|
template: '<a href="https://github.com/{{{ login }}}"><img src="https://github.com/{{{ login }}}.png" width="50px" alt="" /></a>'
|
|
minimum: 500
|
|
|
|
- name: Deploy to GitHub Pages
|
|
uses: JamesIves/github-pages-deploy-action@4.1.3
|
|
with:
|
|
branch: dev
|
|
folder: '.'
|