Files
photon-tbw/.github/workflows/screenshot.yml
T
mudkip 62f2fe80f7 Add automatic README screenshots (#730)
* add automatic README screenshots

* fix kerning
2026-06-08 20:26:26 +00:00

32 lines
712 B
YAML

name: Update README screenshots
on:
workflow_dispatch:
permissions:
contents: write
jobs:
screenshots:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: "3.14"
- name: Install Playwright and Chromium
run: |
pip install playwright
python -m playwright install --with-deps chromium
- name: Capture screenshots
run: python .github/capture_screenshots.py
- name: Commit and push
uses: stefanzweifel/git-auto-commit-action@v7
with:
commit_message: Update README screenshots
file_pattern: .github/screenshots/*.png