Generate Sponsors README #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate Sponsors README | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: 30 15 * * 0-6 | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v2 | |
- name: Generate Sponsors 💖 | |
uses: JamesIves/github-sponsors-readme-action@v1 | |
with: | |
token: ${{ secrets.SPONSER_GIT_PERSONAL_ACCESS_TOKEN }} | |
template: '<a href="https://github.com/{{ login }}"><img src="{{ avatarUrl }}" width="45px" alt="{{ name }}" /></a>' | |
file: 'README.md' | |
minimum: 100 | |
maximum: 499 | |
marker: 'slime' | |
fallback: 'There are currently no sponsors at this level.' | |
- name: Generate Sponsors 💖 | |
uses: JamesIves/github-sponsors-readme-action@v1 | |
with: | |
token: ${{ secrets.SPONSER_GIT_PERSONAL_ACCESS_TOKEN }} | |
template: '<a href="https://github.com/{{ login }}"><img src="{{ avatarUrl }}" width="60px" alt="{{ name }}" /></a>' | |
file: 'README.md' | |
minimum: 500 | |
maximum: 999 | |
marker: 'wolf' | |
fallback: 'There are currently no sponsors at this level.' | |
- name: Generate Sponsors 💖 | |
uses: JamesIves/github-sponsors-readme-action@v1 | |
with: | |
token: ${{ secrets.SPONSER_GIT_PERSONAL_ACCESS_TOKEN }} | |
template: '<a href="https://github.com/{{ login }}"><img src="{{ avatarUrl }}" width="70px" alt="{{ name }}" /></a>' | |
file: 'README.md' | |
minimum: 1000 | |
maximum: 4999 | |
marker: 'warrior' | |
fallback: 'There are currently no sponsors at this level.' | |
- name: Generate Sponsors 💖 | |
uses: JamesIves/github-sponsors-readme-action@v1 | |
with: | |
token: ${{ secrets.SPONSER_GIT_PERSONAL_ACCESS_TOKEN }} | |
template: '<a href="https://github.com/{{ login }}"><img src="{{ avatarUrl }}" width="79px" alt="{{ name }}" /></a>' | |
file: 'README.md' | |
minimum: 5000 | |
maximum: 9999 | |
marker: 'auger' | |
fallback: 'There are currently no sponsors at this level.' | |
- name: Generate Sponsors 💖 | |
uses: JamesIves/github-sponsors-readme-action@v1 | |
with: | |
token: ${{ secrets.SPONSER_GIT_PERSONAL_ACCESS_TOKEN }} | |
template: '<a href="https://github.com/{{ login }}"><img src="{{ avatarUrl }}" width="90px" alt="{{ name }}" /></a>' | |
file: 'README.md' | |
minimum: 10000 | |
maximum: 49999 | |
marker: 'wizard' | |
fallback: 'There are currently no sponsors at this level.' | |
- name: Generate Sponsors 💖 | |
uses: JamesIves/github-sponsors-readme-action@v1 | |
with: | |
token: ${{ secrets.SPONSER_GIT_PERSONAL_ACCESS_TOKEN }} | |
template: '<a href="https://github.com/{{ login }}"><img src="{{ avatarUrl }}" width="105px" alt="{{ name }}" /></a>' | |
file: 'README.md' | |
minimum: 50000 | |
maximum: 99999 | |
marker: 'demon' | |
fallback: 'There are currently no sponsors at this level.' | |
- name: Generate Sponsors 💖 | |
uses: JamesIves/github-sponsors-readme-action@v1 | |
with: | |
token: ${{ secrets.SPONSER_GIT_PERSONAL_ACCESS_TOKEN }} | |
template: '<a href="https://github.com/{{ login }}"><img src="{{ avatarUrl }}" width="125px" alt="{{ name }}" /></a>' | |
file: 'README.md' | |
minimum: 100000 | |
maximum: 499999 | |
marker: 'elf' | |
fallback: 'There are currently no sponsors at this level.' | |
- name: Generate Sponsors 💖 | |
uses: JamesIves/github-sponsors-readme-action@v1 | |
with: | |
token: ${{ secrets.SPONSER_GIT_PERSONAL_ACCESS_TOKEN }} | |
template: '<a href="https://github.com/{{ login }}"><img src="{{ avatarUrl }}" width="150px" alt="{{ name }}" /></a>' | |
file: 'README.md' | |
minimum: 500000 | |
maximum: 999999 | |
marker: 'devilking' | |
fallback: 'There are currently no sponsors at this level.' | |
- name: Generate Sponsors 💖 | |
uses: JamesIves/github-sponsors-readme-action@v1 | |
with: | |
token: ${{ secrets.SPONSER_GIT_PERSONAL_ACCESS_TOKEN }} | |
template: '<a href="https://github.com/{{ login }}"><img src="{{ avatarUrl }}" width="200px" alt="{{ name }}" /></a>' | |
file: 'README.md' | |
minimum: 1000000 | |
maximum: 1199999 | |
marker: 'hero' | |
fallback: 'There are currently no sponsors at this level.' | |
- name: Generate Sponsors 💖 | |
uses: JamesIves/github-sponsors-readme-action@v1 | |
with: | |
token: ${{ secrets.SPONSER_GIT_PERSONAL_ACCESS_TOKEN }} | |
template: '<a href="https://github.com/{{ login }}"><img src="{{ avatarUrl }}" width="300px" alt="{{ name }}" /></a>' | |
file: 'README.md' | |
minimum: 1200000 | |
marker: 'dragon' | |
fallback: 'There are currently no sponsors at this level.' | |
- name: Deploy to GitHub Pages 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: main | |
folder: '.' |