Update sponsor image workflow

This commit is contained in:
Lea Anthony 2022-09-21 11:15:55 +10:00
commit 7bb74d7ffe
No known key found for this signature in database
GPG key ID: 33DAF7BB90A58405
7 changed files with 3757 additions and 136 deletions

View file

@ -21,7 +21,7 @@ jobs:
- run: npx pnpm i
- name: Update sponsors
run: chmod 755 ./scripts/generate-sponsor-image.sh && ./scripts/generate-sponsor-image.sh
run: cd scripts/sponsors && chmod 755 ./generate-sponsor-image.sh && ./generate-sponsor-image.sh
env:
SPONSORKIT_GITHUB_TOKEN: ${{ secrets.SPONSORS_TOKEN }}
SPONSORKIT_GITHUB_LOGIN: leaanthony

View file

@ -1,3 +0,0 @@
#!/usr/bin/env bash
npx sponsorkit -o website/static/img/

View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
npm install
npx sponsorkit -o ../../website/static/img/

3606
scripts/sponsors/package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,15 @@
{
"name": "scripts",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"sponsorkit": "^0.5.2"
}
}

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 124 KiB

After

Width:  |  Height:  |  Size: 123 KiB

Before After
Before After