mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
33 lines
820 B
YAML
33 lines
820 B
YAML
name: Generate Sponsor Image
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
push:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
update-sponsors:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set node
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: 16.x
|
|
|
|
- name: Update sponsors
|
|
run: cd scripts/sponsors && chmod 755 ./generate-sponsor-image.sh && ./generate-sponsor-image.sh
|
|
env:
|
|
SPONSORKIT_GITHUB_TOKEN: ${{ secrets.SPONSORS_TOKEN }}
|
|
SPONSORKIT_GITHUB_LOGIN: wailsapp
|
|
|
|
- name: Commit
|
|
uses: EndBug/add-and-commit@v4
|
|
with:
|
|
message: "chore: update sponsors.svg"
|
|
add: "website/static/img/sponsors.svg"
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|