Added new triangle morph art system #5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Gallery | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| build-gallery: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Generate gallery index | |
| run: python scripts/build_gallery.py | |
| - name: Commit gallery | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| git add index.html | |
| git diff --staged --quiet || git commit -m "chore: rebuild gallery index" | |
| git push |