Skip to content

Build Sponsors SVG

Build Sponsors SVG #32

Workflow file for this run

name: Build Sponsors SVG
on:
workflow_dispatch:
jobs:
update-sponsors:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set node
uses: actions/setup-node@v4
with:
node-version: 20.x
- run: npm i
- name: Update sponsors
run: npm run build
env:
SPONSORKIT_GITHUB_TOKEN: ${{ secrets.SPONSORS_TOKEN }}
- name: Commit
uses: EndBug/add-and-commit@v4
with:
message: "chore: update sponsors.svg"
add: "sponsors.*"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}