Skip to content

generate

generate #31

Workflow file for this run

name: generate
on:
workflow_dispatch:
jobs:
update-sponsors:
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v3
- name: Set node 🌐
uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Install πŸ“¦
run: npx pnpm i
- name: Generate Sponsors πŸ’–
run: npm run build
env:
SPONSORKIT_GITHUB_TOKEN: ${{ secrets.SPONSORKIT_GITHUB_TOKEN }}
- name: Commit πŸš€
uses: EndBug/add-and-commit@v4
with:
message: "πŸ’– UPDATE: sponsors assets"
add: "generated/*"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}