core: fix getting-started guide #2
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 | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Generate Sponsors Tier 1 | |
uses: slimsag/github-sponsors-readme-action@dev | |
with: | |
token: ${{ secrets.SLIMSAG_SPONSORS_PAT }} | |
file: 'content/_index.md' | |
maximum: 600 # cents | |
marker: 'tier1' | |
- name: Generate Sponsors Tier 2 | |
uses: slimsag/github-sponsors-readme-action@dev | |
with: | |
token: ${{ secrets.SLIMSAG_SPONSORS_PAT }} | |
file: 'content/_index.md' | |
minimum: 2500 # cents | |
maximum: 2600 # cents | |
marker: 'tier2' | |
- name: Push changes to GitHub | |
uses: JamesIves/[email protected] | |
with: | |
branch: main | |
folder: '.' | |
commit-message: 'Regenerate sponsors section' |