Skip to content

Commit adfbb43

Browse files
committed
Oops, forgot to save content in file
1 parent f2e2672 commit adfbb43

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Build Gallery
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
build-gallery:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: write
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Generate gallery index
16+
run: python scripts/build_gallery.py
17+
18+
- name: Commit gallery
19+
run: |
20+
git config user.name "github-actions[bot]"
21+
git config user.email "github-actions[bot]@users.noreply.github.com"
22+
git add index.html
23+
git diff --staged --quiet || git commit -m "chore: rebuild gallery index"
24+
git push

0 commit comments

Comments
 (0)