Skip to content

Scheduler

Scheduler #994

Workflow file for this run

name: Scheduler
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
push:
branches: [main]
jobs:
update-sponsors:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set node
uses: actions/setup-node@v4
with:
node-version: 18.x
- run: npm i
- name: Update sponsors
run: npm run build
env:
SPONSORKIT_GITHUB_TOKEN: ${{ secrets.SPONSORS_TOKEN }}
SPONSORKIT_GITHUB_LOGIN: cyberalien
- name: Commit
uses: EndBug/add-and-commit@v9
with:
message: 'chore: update sponsors.svg'
add: 'docs/sponsors.*'