Skip to content

Commit 22869a5

Browse files
author
Eliott Gandiolle
committed
feat: ✨ add flutter
1 parent 74fabd0 commit 22869a5

File tree

13 files changed

+744
-287
lines changed

13 files changed

+744
-287
lines changed

.github/workflows/deploy.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
workflow_dispatch: # manual trigger from the Actions tab
99

1010
permissions:
11-
contents: read
11+
contents: write
1212
pages: write
1313
id-token: write
1414

@@ -33,11 +33,19 @@ jobs:
3333
- name: Install dependencies
3434
run: bun install
3535

36-
- name: Fetch npm & GitHub data
36+
- name: Fetch npm, pub.dev & GitHub data
3737
run: bun scripts/fetch-data.ts
3838
env:
3939
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4040

41+
- name: Persist pub.dev monthly snapshot
42+
run: |
43+
git config user.name "github-actions[bot]"
44+
git config user.email "github-actions[bot]@users.noreply.github.com"
45+
git add public/data.json
46+
git diff --staged --quiet || git commit -m "chore: update pub.dev monthly snapshot [skip ci]"
47+
git push
48+
4149
- name: Build
4250
run: bun run build
4351
env:

0 commit comments

Comments
 (0)