Skip to content

sponsorkit

sponsorkit #56

Workflow file for this run

name: sponsorkit
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
push:
branches: [ master ]
jobs:
update-sponsors:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
- uses: actions/setup-node@v4
# with:
# node-version: lts/*
- run: corepack enable && pnpm i && pnpm build
# env:
# SPONSORKIT_GITHUB_TOKEN: ${{ secrets.SPONSORKIT_GITHUB_TOKEN }}
# SPONSORKIT_GITHUB_LOGIN: kwaa
# SPONSORKIT_OPENCOLLECTIVE_KEY: ${{ secrets.SPONSORKIT_OPENCOLLECTIVE_KEY }}
# SPONSORKIT_OPENCOLLECTIVE_SLUG: kwaa
- uses: EndBug/add-and-commit@v5
with:
message: "chore: update sponsors.svg"
add: "public/sponsors.*"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}