Skip to content

Generate Sponsors README #314

Generate Sponsors README

Generate Sponsors README #314

Workflow file for this run

name: Generate Sponsors README
on:
workflow_dispatch:
schedule:
# This is a cron schedule, it will run every day at 15:30. You can change this to whatever you want.x
- cron: 30 15 * * 0-6
jobs:
deploy:
runs-on: ubuntu-latest
steps:
# Checkout the repository
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v2
# Generate the sponsors
- name: Generate Sponsors πŸ’–
uses: JamesIves/github-sponsors-readme-action@v1
with:
token: ${{ secrets.PAT }}
file: 'README.md'
minimum: 1000
# Deploy the changes back to the main branch of the repository
- name: Deploy to GitHub Pages πŸš€
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: develop
# As we're deploying changes to our markdown files, this needs to be . to push the root directory back to the repository.
folder: '.'