32 lines
712 B
YAML
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
|