Skip to content

Commit

Permalink
Add sponsors integration (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoColomb authored Sep 22, 2024
1 parent 2d016fd commit 6a2df7b
Show file tree
Hide file tree
Showing 9 changed files with 450 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ name: Publish

on:
push:
schedule:
- cron: '30 15 * * *'

permissions:
deployments: write
Expand All @@ -27,6 +29,8 @@ jobs:
- name: Install NPM packages
run: npm ci

- name: Fetch sponsors
run: npm run fetch-sponsors --if-present
- name: Run build
run: npm run build --if-present

Expand Down
1 change: 1 addition & 0 deletions backers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
252 changes: 252 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids",
"lint": "prettier --check .",
"format": "prettier --write ."
"format": "prettier --write .",
"fetch-sponsors": "node scripts/fetchSponsors.mjs"
},
"dependencies": {
"@docusaurus/core": "3.5.2",
Expand All @@ -25,6 +26,7 @@
"devDependencies": {
"@docusaurus/module-type-aliases": "3.5.2",
"@docusaurus/types": "3.5.2",
"graphql-request": "^7.1.0",
"prettier": "^3.3.3"
}
}
Loading

0 comments on commit 6a2df7b

Please sign in to comment.